Package io.micronaut.expressions.context
Interface ExpressionEvaluationContextRegistrar
- All Superinterfaces:
Ordered,Toggleable,TypeElementVisitor<AnnotationExpressionContext,AnnotationExpressionContext>
public interface ExpressionEvaluationContextRegistrar
extends TypeElementVisitor<AnnotationExpressionContext,AnnotationExpressionContext>
Custom type that simplifies registering a new context class.
A META-INF/services/io.micronaut.inject.visitor.TypeElementVisitor should be created for any new implementations.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
TypeElementVisitor.VisitorKind -
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault voidstart(VisitorContext visitorContext) Called once when visitor processing starts.Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabledMethods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, query, visitClass, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Method Details
-
start
Description copied from interface:TypeElementVisitorCalled once when visitor processing starts.- Specified by:
startin interfaceTypeElementVisitor<AnnotationExpressionContext,AnnotationExpressionContext> - Parameters:
visitorContext- The visitor context
-
getContextClassName
String getContextClassName() -
getVisitorKind
- Specified by:
getVisitorKindin interfaceTypeElementVisitor<AnnotationExpressionContext,AnnotationExpressionContext> - Returns:
- The visitor kind.
-