public class AnnotatingVisitor extends Object implements TypeElementVisitor<Version,Version>
Modifier and Type | Field and Description |
---|---|
static String |
ANN_NAME |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
AnnotatingVisitor() |
Modifier and Type | Method and Description |
---|---|
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, wait
finish, start
public static final String ANN_NAME
public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitor
visitClass
in interface TypeElementVisitor<Version,Version>
element
- The elementcontext
- The visitor contextpublic void visitMethod(MethodElement element, VisitorContext context)
TypeElementVisitor
visitMethod
in interface TypeElementVisitor<Version,Version>
element
- The elementcontext
- The visitor contextpublic void visitConstructor(ConstructorElement element, VisitorContext context)
TypeElementVisitor
visitConstructor
in interface TypeElementVisitor<Version,Version>
element
- The elementcontext
- The visitor contextpublic void visitField(FieldElement element, VisitorContext context)
TypeElementVisitor
visitField
in interface TypeElementVisitor<Version,Version>
element
- The elementcontext
- The visitor context