public class GraalTypeElementVisitor extends Object implements TypeElementVisitor<Object,Object>
TypeElementVisitor.VisitorKind| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
arrays
Arrays requiring reflective instantiation.
|
protected static Map<String,Map<String,Object>> |
classes
Classes only require classloading access.
|
protected static Set<ClassElement> |
originatingElements
Elements that the config originates from.
|
protected static Set<String> |
packages
Beans are those requiring full reflective access to all public members.
|
static int |
POSITION
The position of the visitor.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
GraalTypeElementVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(VisitorContext visitorContext)
Called once when visitor processing finishes.
|
int |
getOrder() |
Set<String> |
getSupportedAnnotationNames() |
TypeElementVisitor.VisitorKind |
getVisitorKind() |
void |
visitClass(ClassElement element,
VisitorContext context)
Executed when a class is encountered that matches the
|
void |
visitConstructor(ConstructorElement element,
VisitorContext context)
Executed when a constructor is encountered that matches the
|
void |
visitField(FieldElement element,
VisitorContext context)
Executed when a field is encountered that matches the
|
void |
visitMethod(MethodElement element,
VisitorContext context)
Executed when a method is encountered that matches the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassType, getElementType, getSupportedOptions, startisEnabledpublic static final int POSITION
protected static Set<String> packages
protected static Map<String,Map<String,Object>> classes
protected static Set<ClassElement> originatingElements
public int getOrder()
public Set<String> getSupportedAnnotationNames()
getSupportedAnnotationNames in interface TypeElementVisitor<Object,Object>@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind in interface TypeElementVisitor<Object,Object>public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitorvisitClass in interface TypeElementVisitor<Object,Object>element - The elementcontext - The visitor contextpublic void visitField(FieldElement element, VisitorContext context)
TypeElementVisitorvisitField in interface TypeElementVisitor<Object,Object>element - The elementcontext - The visitor contextpublic void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitorvisitMethod in interface TypeElementVisitor<Object,Object>element - The elementcontext - The visitor contextpublic void visitConstructor(ConstructorElement element, VisitorContext context)
TypeElementVisitorvisitConstructor in interface TypeElementVisitor<Object,Object>element - The elementcontext - The visitor contextpublic final void finish(VisitorContext visitorContext)
TypeElementVisitorfinish in interface TypeElementVisitor<Object,Object>visitorContext - The visitor context