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 TypeElementVisitor
TypeElementVisitor.VisitorKind -
Field Summary
Fields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault TypeElementVisitor.VisitorKinddefault voidstart(VisitorContext visitorContext) Called once when visitor processing starts.Methods inherited from interface Toggleable
isEnabledMethods inherited from interface 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.
-