public class BeanImportVisitor extends Object implements TypeElementVisitor<Import,Object>
Import
.TypeElementVisitor.VisitorKind
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
BeanImportVisitor() |
Modifier and Type | Method and Description |
---|---|
static List<ClassElement> |
collectInjectableElements(ClassElement element,
VisitorContext context) |
int |
getOrder() |
Set<String> |
getSupportedAnnotationNames() |
TypeElementVisitor.VisitorKind |
getVisitorKind() |
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, wait
finish, getClassType, getElementType, getSupportedOptions, start, visitConstructor, visitField, visitMethod
isEnabled
public void visitClass(ClassElement element, VisitorContext context)
TypeElementVisitor
visitClass
in interface TypeElementVisitor<Import,Object>
element
- The elementcontext
- The visitor context@NonNull public static List<ClassElement> collectInjectableElements(ClassElement element, VisitorContext context)
public Set<String> getSupportedAnnotationNames()
getSupportedAnnotationNames
in interface TypeElementVisitor<Import,Object>
@NonNull public TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface TypeElementVisitor<Import,Object>