public class GraalTypeElementVisitor extends Object implements TypeElementVisitor<Object,Object>
TypeElementVisitor.VisitorKind
Modifier and Type | Field and Description |
---|---|
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 <C> generic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassType, getElementType, getSupportedOptions, start, visitConstructor, visitEnumConstant, visitField, visitMethod
isEnabled
public static final int POSITION
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 finish(VisitorContext visitorContext)
TypeElementVisitor
finish
in interface TypeElementVisitor<Object,Object>
visitorContext
- The visitor contextpublic void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitor
visitClass
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor context