@Internal public class LoadedVisitor extends Object implements Ordered
TypeElementVisitor and
 optionally invoke the visit methods on the visitor if it matches the
 element being visited by the annotation processor.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
| LoadedVisitor(TypeElementVisitor visitor,
             JavaVisitorContext visitorContext,
             GenericUtils genericUtils,
             ProcessingEnvironment processingEnvironment) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getOrder() | 
| TypeElementVisitor | getVisitor() | 
| boolean | matches(AnnotationMetadata annotationMetadata) | 
| boolean | matches(TypeElement typeElement) | 
| String | toString() | 
| Element | visit(Element element,
     AnnotationMetadata annotationMetadata)Invoke the underlying visitor for the given element. | 
public LoadedVisitor(TypeElementVisitor visitor, JavaVisitorContext visitorContext, GenericUtils genericUtils, ProcessingEnvironment processingEnvironment)
visitor - The TypeElementVisitorvisitorContext - The visitor contextgenericUtils - The generic utilsprocessingEnvironment - The ProcessEnvironmentpublic int getOrder()
public TypeElementVisitor getVisitor()
public boolean matches(TypeElement typeElement)
typeElement - The class elementpublic boolean matches(AnnotationMetadata annotationMetadata)
annotationMetadata - The annotation data@Nullable public Element visit(Element element, AnnotationMetadata annotationMetadata)
element - The element to visitannotationMetadata - The annotation data for the node