Class ELFunctionVisitor
java.lang.Object
io.micronaut.el.processor.visitor.ELFunctionVisitor
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
@Internal
public final class ELFunctionVisitor
extends Object
implements io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
Registers the functions declared with
ELFunction in the module, for its expressions.
The visitors run in reverse order of getOrder(), every class through one visitor before the next,
so this visitor sees every class of the round before ELExpressionVisitor compiles an expression: the
functions of the module are known whatever the order of its classes. The functions of another module are
listed with @ELFunctions.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind -
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()io.micronaut.inject.visitor.TypeElementVisitor.VisitorKindvoidstart(io.micronaut.inject.visitor.VisitorContext visitorContext) voidvisitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.util.Toggleable
isEnabledMethods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedOptions, query, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Constructor Details
-
ELFunctionVisitor
public ELFunctionVisitor()
-
-
Method Details
-
getVisitorKind
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceio.micronaut.core.order.Ordered
-
start
-
getSupportedAnnotationNames
-
visitClass
-