| com.bm.ejb3metadata.annotations.analyzer.ScanMethodVisitor
ScanMethodVisitor | public class ScanMethodVisitor extends ScanCommonVisitor implements MethodVisitor(Code) | | This classes analyses a given method and build/fill meta data information.
author: Daniel Wiese |
Method Summary | |
public AnnotationVisitor | visitAnnotationDefault() Visits the default value of this annotation interface method (ignore it).
a non null visitor to the visit the actual default value of thisannotation interface method. | public void | visitEnd() Visits the end of the method. | public AnnotationVisitor | visitParameterAnnotation(int parameter, String desc, boolean visible) Visits an annotation of a parameter this method (ignore it).
Parameters: parameter - the parameter index. Parameters: desc - the class descriptor of the annotation class. Parameters: visible - true if the annotation is visible at runtime. |
ScanMethodVisitor | public ScanMethodVisitor(JMethod jMethod, ClassAnnotationMetadata classAnnotationMetadata)(Code) | | Constructor.
Parameters: jMethod - Method object on which we set meta data. Parameters: classAnnotationMetadata - the parent object on which add generated meta-data. |
visitAnnotationDefault | public AnnotationVisitor visitAnnotationDefault()(Code) | | Visits the default value of this annotation interface method (ignore it).
a non null visitor to the visit the actual default value of thisannotation interface method. The 'name' parameters passed to themethods of this annotation visitor are ignored. Moreover, exaclyone visit method must be called on this annotation visitor,followed by visitEnd. |
visitEnd | public void visitEnd()(Code) | | Visits the end of the method. This method, which is the last one to be
called, is used to inform the visitor that all the annotations and
attributes of the method have been visited.
|
visitParameterAnnotation | public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)(Code) | | Visits an annotation of a parameter this method (ignore it).
Parameters: parameter - the parameter index. 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. |
|
|