|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bm.ejb3metadata.annotations.analyzer.AbsAnnotationVisitor<T>
com.bm.ejb3metadata.annotations.analyzer.ObjectAnnotationVisitor<T,V>
T - the type of annotation metadata.V - the type of class / erasure (for values).public abstract class ObjectAnnotationVisitor<T,V>
This class manages the handling of single type like String name().
| Constructor Summary | |
|---|---|
ObjectAnnotationVisitor(T annotationMetadata)
Constructor. |
|
| Method Summary | |
|---|---|
V |
getValue()
|
void |
visit(java.lang.String name,
java.lang.Object value)
Visits a primitive value of the annotation. |
| Methods inherited from class com.bm.ejb3metadata.annotations.analyzer.AbsAnnotationVisitor |
|---|
getAnnotationMetadata, visitAnnotation, visitArray, visitEnd, visitEnum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ejb3unit.asm.jar.AnnotationVisitor |
|---|
visitAnnotation, visitArray, visitEnd, visitEnum |
| Methods inherited from interface com.bm.ejb3metadata.annotations.analyzer.AnnotationType |
|---|
getType |
| Constructor Detail |
|---|
public ObjectAnnotationVisitor(T annotationMetadata)
annotationMetadata - linked to a metadata.| Method Detail |
|---|
public void visit(java.lang.String name,
java.lang.Object value)
visit in interface org.ejb3unit.asm.jar.AnnotationVisitorvisit in class AbsAnnotationVisitor<T>name - the value name.value - the actual value, whose type must be Byte,
Boolean, Character, Short,
Integer, Long, Float, Double,
String or org.ejb3unit.asm.Type.public V getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||