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() |
void |
visitClass(ClassElement element,
VisitorContext context)
Executed when a class is encountered that matches the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, getClassType, getSupportedAnnotationNames, getSupportedOptions, getVisitorKind, start, visitConstructor, visitField, visitMethodisEnabledpublic 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