A - An annotation type to limit visitation to a subset of beanspublic interface BeanElementVisitor<A extends Annotation> extends Ordered, Toggleable
| Modifier and Type | Field and Description | 
|---|---|
static List<BeanElementVisitor<?>> | 
VISITORS
The available visitors. 
 | 
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Modifier and Type | Method and Description | 
|---|---|
default void | 
finish(VisitorContext visitorContext)
Called once when visitor processing finishes. 
 | 
default void | 
start(VisitorContext visitorContext)
Called once when visitor processing starts. 
 | 
default boolean | 
supports(BeanElement beanElement)
Returns whether this visitor supports visiting the specified element. 
 | 
BeanElement | 
visitBeanElement(BeanElement beanElement,
                VisitorContext visitorContext)
Visits a  
BeanElement before it is finalized and written to disk,
 allowing mutation of any annotation metadata before writing the bean definition. | 
isEnabledstatic final List<BeanElementVisitor<?>> VISITORS
@Nullable BeanElement visitBeanElement(@NonNull BeanElement beanElement, @NonNull VisitorContext visitorContext)
BeanElement before it is finalized and written to disk,
 allowing mutation of any annotation metadata before writing the bean definition.beanElement - The bean elementvisitorContext - The visitor contextnull if the bean should not be writtendefault void start(VisitorContext visitorContext)
visitorContext - The visitor contextdefault void finish(VisitorContext visitorContext)
visitorContext - The visitor contextdefault boolean supports(@NonNull BeanElement beanElement)
beanElement - The bean element