//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void prepare() public virtual void Prepare() { Elements elements = CompilationRule.Elements; _types = CompilationRule.Types; _typeMirrorUtils = new TypeMirrorUtils(_types, elements); _typeMirrorTestUtils = new TypeMirrorTestUtils(CompilationRule); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void prepare() public virtual void Prepare() { Types types = Compilation.Types; Elements elements = Compilation.Elements; TypeMirrorUtils typeMirrors = new TypeMirrorUtils(types, elements); _typeMirrorTestUtils = new TypeMirrorTestUtils(Compilation); _visitor = new RecordTypeVisitor(types, typeMirrors); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Before public void prepare() public virtual void Prepare() { Types types = CompilationRule.Types; Elements elements = CompilationRule.Elements; _elementTestUtils = new ElementTestUtils(CompilationRule); //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final org.neo4j.tooling.procedure.compilerutils.TypeMirrorUtils typeMirrorUtils = new org.neo4j.tooling.procedure.compilerutils.TypeMirrorUtils(types, elements); TypeMirrorUtils typeMirrorUtils = new TypeMirrorUtils(types, elements); _visitor = new UserFunctionVisitor(new FunctionVisitor <UserFunction>(typeof(UserFunction), types, elements, typeMirrorUtils, function => CustomNameExtractor.getName(function.name, function.value), false)); }
internal ParameterTypeVisitor(Types typeUtils, TypeMirrorUtils typeMirrors) { _allowedTypesValidator = new AllowedTypesValidator(typeMirrors, typeUtils); }