Class IntrospectedTypeElementVisitor
java.lang.Object
io.micronaut.inject.beans.visitor.IntrospectedTypeElementVisitor
- All Implemented Interfaces:
Ordered, Toggleable, TypeElementVisitor<Object,Object>
@Internal
public class IntrospectedTypeElementVisitor
extends Object
implements TypeElementVisitor<Object,Object>
A
TypeElementVisitor that visits classes annotated with Introspected and produces
BeanIntrospectionReference instances at compilation time.- Since:
- 1.1
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypeElementVisitor
TypeElementVisitor.VisitorKind -
Field Summary
FieldsFields inherited from interface Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()query()The query which allows to reduce the scope which the visitor is visiting.voidvisitClass(ClassElement element, VisitorContext context) Executed when a class is encountered that matches the <C> generic.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Toggleable
isEnabledMethods inherited from interface TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, start, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Field Details
-
POSITION
public static final int POSITIONThe position of the visitor.- See Also:
-
-
Constructor Details
-
IntrospectedTypeElementVisitor
public IntrospectedTypeElementVisitor()
-
-
Method Details
-
getOrder
-
query
Description copied from interface:TypeElementVisitorThe query which allows to reduce the scope which the visitor is visiting.- Specified by:
queryin interfaceTypeElementVisitor<Object,Object> - Returns:
- The query if the visitor.
-
visitClass
Description copied from interface:TypeElementVisitorExecuted when a class is encountered that matches the <C> generic.- Specified by:
visitClassin interfaceTypeElementVisitor<Object,Object> - Parameters:
element- The elementcontext- The visitor context
-
getVisitorKind
- Specified by:
getVisitorKindin interfaceTypeElementVisitor<Object,Object> - Returns:
- The visitor kind.
-