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