Search in sources :

Example 6 with TypeMirrorUtils

use of org.neo4j.tooling.procedure.compilerutils.TypeMirrorUtils in project neo4j by neo4j.

the class UserFunctionVisitorTest method prepare.

@Before
public void prepare() {
    Types types = compilationRule.getTypes();
    Elements elements = compilationRule.getElements();
    elementTestUtils = new ElementTestUtils(compilationRule);
    visitor = new UserFunctionVisitor(types, elements, new TypeMirrorUtils(types, elements));
}
Also used : Types(javax.lang.model.util.Types) Elements(javax.lang.model.util.Elements) TypeMirrorUtils(org.neo4j.tooling.procedure.compilerutils.TypeMirrorUtils) ElementTestUtils(org.neo4j.tooling.procedure.testutils.ElementTestUtils) Before(org.junit.Before)

Aggregations

Elements (javax.lang.model.util.Elements)6 TypeMirrorUtils (org.neo4j.tooling.procedure.compilerutils.TypeMirrorUtils)6 Before (org.junit.Before)5 Types (javax.lang.model.util.Types)4 TypeMirrorTestUtils (org.neo4j.tooling.procedure.testutils.TypeMirrorTestUtils)4 MessagePrinter (org.neo4j.tooling.procedure.messages.MessagePrinter)1 ElementTestUtils (org.neo4j.tooling.procedure.testutils.ElementTestUtils)1 UserFunctionVisitor (org.neo4j.tooling.procedure.visitors.UserFunctionVisitor)1