public class InternalApiTypeElementVisitor extends Object implements TypeElementVisitor<Object,Object>
TypeElementVisitor.VisitorKind
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
InternalApiTypeElementVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
finish(VisitorContext visitorContext)
Called once when visitor processing finishes.
|
TypeElementVisitor.VisitorKind |
getVisitorKind() |
void |
visitClass(ClassElement element,
VisitorContext context)
Executed when a class is encountered that matches the <C> generic.
|
void |
visitConstructor(ConstructorElement element,
VisitorContext context)
Executed when a constructor is encountered that matches the <C> generic.
|
void |
visitField(FieldElement element,
VisitorContext context)
Executed when a field is encountered that matches the <E> generic.
|
void |
visitMethod(MethodElement element,
VisitorContext context)
Executed when a method is encountered that matches the <E> generic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, start, visitEnumConstant
isEnabled
@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface TypeElementVisitor<Object,Object>
public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitor
visitClass
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor contextpublic void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitor
visitMethod
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor contextpublic void visitConstructor(ConstructorElement element, VisitorContext context)
TypeElementVisitor
visitConstructor
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor contextpublic void visitField(FieldElement element, VisitorContext context)
TypeElementVisitor
visitField
in interface TypeElementVisitor<Object,Object>
element
- The elementcontext
- The visitor contextpublic void finish(VisitorContext visitorContext)
TypeElementVisitor
finish
in interface TypeElementVisitor<Object,Object>
visitorContext
- The visitor context