Package io.micronaut.graal.reflect
Class GraalTypeElementVisitor
java.lang.Object
io.micronaut.graal.reflect.GraalTypeElementVisitor
- All Implemented Interfaces:
- Ordered,- Toggleable,- TypeElementVisitor<Object,- Object> 
Generates the GraalVM reflect.json file at compilation time.
- Since:
- 1.1
- Author:
- graemerocher, Iván López
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitorTypeElementVisitor.VisitorKind
- 
Field SummaryFieldsFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfinish(VisitorContext visitorContext) Called once when visitor processing finishes.intgetOrder()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 java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.util.ToggleableisEnabledMethods inherited from interface io.micronaut.inject.visitor.TypeElementVisitorgetClassType, getElementType, getSupportedOptions, start, visitConstructor, visitEnumConstant, visitField, visitMethod
- 
Field Details- 
POSITIONpublic static final int POSITIONThe position of the visitor.- See Also:
 
 
- 
- 
Constructor Details- 
GraalTypeElementVisitorpublic GraalTypeElementVisitor()
 
- 
- 
Method Details- 
getOrderpublic int getOrder()
- 
getSupportedAnnotationNames- Specified by:
- getSupportedAnnotationNamesin interface- TypeElementVisitor<Object,- Object> 
- Returns:
- The supported default annotation names.
 
- 
getVisitorKind- Specified by:
- getVisitorKindin interface- TypeElementVisitor<Object,- Object> 
- Returns:
- The visitor kind.
 
- 
queryDescription copied from interface:TypeElementVisitorThe query which allows to reduce the scope which the visitor is visiting.- Specified by:
- queryin interface- TypeElementVisitor<Object,- Object> 
- Returns:
- The query if the visitor.
 
- 
finishDescription copied from interface:TypeElementVisitorCalled once when visitor processing finishes.- Specified by:
- finishin interface- TypeElementVisitor<Object,- Object> 
- Parameters:
- visitorContext- The visitor context
 
- 
visitClassDescription copied from interface:TypeElementVisitorExecuted when a class is encountered that matches the <C> generic.- Specified by:
- visitClassin interface- TypeElementVisitor<Object,- Object> 
- Parameters:
- element- The element
- context- The visitor context
 
 
-