public class GraalTypeElementVisitor extends java.lang.Object implements TypeElementVisitor<java.lang.Object,java.lang.Object>
TypeElementVisitor.VisitorKind| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Set<java.lang.String> |
arrays
Arrays requiring reflective instantiation.
|
protected static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
classes
Classes only require classloading access.
|
protected static java.util.Set<java.lang.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() |
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, waitgetSupportedAnnotationNames, getSupportedOptions, getVisitorKind, startpublic static final int POSITION
protected static java.util.Set<java.lang.String> packages
protected static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> classes
protected static java.util.Set<java.lang.String> arrays
public int getOrder()
public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitorvisitClass in interface TypeElementVisitor<java.lang.Object,java.lang.Object>element - The elementcontext - The visitor contextpublic void visitField(FieldElement element, VisitorContext context)
TypeElementVisitorvisitField in interface TypeElementVisitor<java.lang.Object,java.lang.Object>element - The elementcontext - The visitor contextpublic void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitorvisitMethod in interface TypeElementVisitor<java.lang.Object,java.lang.Object>element - The elementcontext - The visitor contextpublic void visitConstructor(ConstructorElement element, VisitorContext context)
TypeElementVisitorvisitConstructor in interface TypeElementVisitor<java.lang.Object,java.lang.Object>element - The elementcontext - The visitor contextpublic final void finish(VisitorContext visitorContext)
TypeElementVisitorfinish in interface TypeElementVisitor<java.lang.Object,java.lang.Object>visitorContext - The visitor context