| org.ow2.easybeans.deployment.annotations.analyzer.ScanCommonVisitor
ScanCommonVisitor | abstract public class ScanCommonVisitor extends EmptyVisitor (Code) | | This classes analyses annotation (could be class, method, attribute, etc).
It is extended by classes for a specific type Class, Method, Attribute.
< Parameters: T - > the kind of metadata visited by this visitor. author: Florent Benoit |
Method Summary | |
protected Map<String, AnnotationVisitor> | getAnnotationVisitors() | protected EmptyVisitor | getEmptyVisitor() | protected void | initVisitors(T annotationMetadata) Build visitors used by this one. | public AnnotationVisitor | visitAnnotation(String desc, boolean visible) Visits an annotation of the class.
Parameters: desc - the class descriptor of the annotation class. Parameters: visible - true if the annotation is visible at runtime. |
ScanCommonVisitor | public ScanCommonVisitor()(Code) | | Constructor
Build map of visitors.
|
getAnnotationVisitors | protected Map<String, AnnotationVisitor> getAnnotationVisitors()(Code) | | the visitors used by this scanner. |
getEmptyVisitor | protected EmptyVisitor getEmptyVisitor()(Code) | | empty visitor |
initVisitors | protected void initVisitors(T annotationMetadata)(Code) | | Build visitors used by this one.
Parameters: annotationMetadata - metadata used |
visitAnnotation | public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code) | | Visits an annotation of the class.
Parameters: desc - the class descriptor of the annotation class. Parameters: visible - true if the annotation is visible at runtime. a non null visitor to visit the annotation values. |
|
|