use of org.neo4j.tooling.procedure.visitors.UserFunctionVisitor in project neo4j by neo4j.
the class UserFunctionProcessor method init.
@Override
public synchronized void init(ProcessingEnvironment processingEnv) {
super.init(processingEnv);
Types typeUtils = processingEnv.getTypeUtils();
Elements elementUtils = processingEnv.getElementUtils();
visitedFunctions.clear();
messagePrinter = new MessagePrinter(processingEnv.getMessager());
visitor = new UserFunctionVisitor(typeUtils, elementUtils, new TypeMirrorUtils(typeUtils, elementUtils));
duplicationPredicate = new DuplicatedProcedureValidator<>(elementUtils, userFunctionType, UserFunctionProcessor::getCustomName);
}
Aggregations