| com.bm.ejb3metadata.annotations.analyzer.JavaxAnnotationResourceVisitor
JavaxAnnotationResourceVisitor | public class JavaxAnnotationResourceVisitor extends AbsAnnotationVisitor implements AnnotationType(Code) | | This class manages the handling of @
javax.annotation.Resource annotation.
< Parameters: T - > An implementation of IAnnotationResource interface. author: Daniel Wiese |
Field Summary | |
final public static String | TYPE Type of annotation. |
TYPE | final public static String TYPE(Code) | | Type of annotation.
|
JavaxAnnotationResourceVisitor | public JavaxAnnotationResourceVisitor(T annotationMetadata)(Code) | | Constructor.
Parameters: annotationMetadata - linked to a class or method metadata |
getType | public String getType()(Code) | | type of the annotation (its description) |
setJAnnotationResource | protected void setJAnnotationResource(JAnnotationResource jAnnotationResource)(Code) | | Sets the jAnnotationResource object.
Parameters: jAnnotationResource - the object which replaced the previous one. |
visit | public void visit(String name, Object value)(Code) | | Visits a primitive value of the annotation.
Parameters: name - the value name. Parameters: value - the actual value, whose type must be Byte,Boolean, Character, Short,Integer, Long, Float, Double,String or org.ejb3unit.asm.Type. |
visitEnd | public void visitEnd()(Code) | | Visits the end of the annotation.
Creates the object and store it.
|
visitEnum | public void visitEnum(String name, String desc, String value)(Code) | | Visits an enumeration value of the annotation.
Parameters: name - the value name. Parameters: desc - the class descriptor of the enumeration class. Parameters: value - the actual enumeration value. |
|
|