public class ContextConfigurerVisitor extends Object implements TypeElementVisitor<ContextConfigurer,Object>
ContextConfigurer.TypeElementVisitor.VisitorKindHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
ContextConfigurerVisitor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNoConstructorForContextAnnotation(ClassElement element)
Checks that a class annotated with
ContextConfigurer doesn't have any constructor
with parameters, which is unsupported. |
String |
getElementType() |
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, waitfinish, getClassType, getSupportedAnnotationNames, getSupportedOptions, start, visitConstructor, visitEnumConstant, visitField, visitMethodisEnabledpublic TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind in interface TypeElementVisitor<ContextConfigurer,Object>public String getElementType()
getElementType in interface TypeElementVisitor<ContextConfigurer,Object>public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitorvisitClass in interface TypeElementVisitor<ContextConfigurer,Object>element - The elementcontext - The visitor contextpublic static void assertNoConstructorForContextAnnotation(ClassElement element)
ContextConfigurer doesn't have any constructor
with parameters, which is unsupported.element - the class to check