|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.asmdex.AnnotationVisitor
org.ow2.asmdex.AnnotationWriter
org.ow2.asmdex.AnnotationWriterDefaultAnnotation
public class AnnotationWriterDefaultAnnotation
AnnotationWriter specialized for DefaultAnnotation.
| Field Summary | |
|---|---|
protected ClassDefinitionItem |
classDefinitionItem
The Class related to this Annotation. |
| Fields inherited from class org.ow2.asmdex.AnnotationWriter |
|---|
annotationItem, annotationType, currentName, father, mustSortArray, unsortedArray |
| Fields inherited from class org.ow2.asmdex.AnnotationVisitor |
|---|
api, av |
| Constructor Summary | |
|---|---|
AnnotationWriterDefaultAnnotation(ConstantPool constantPool,
AnnotationItem annotationItem,
ClassDefinitionItem classDefinitionItem)
Constructor for the default annotations. |
|
| Method Summary | |
|---|---|
void |
visit(java.lang.String name,
java.lang.Object value)
Visits a primitive value of the annotation. |
void |
visitEnd()
Visits the end of the annotation. |
| Methods inherited from class org.ow2.asmdex.AnnotationWriter |
|---|
createAnnotationWriter, getAnnotationItem, setMustSortArray, visitAnnotation, visitArray, visitClass, visitEndRegisterAnnotationItemNotDefaultAnnotation, visitEnum, visitManageNonDefaultAnnotation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ClassDefinitionItem classDefinitionItem
| Constructor Detail |
|---|
public AnnotationWriterDefaultAnnotation(ConstantPool constantPool,
AnnotationItem annotationItem,
ClassDefinitionItem classDefinitionItem)
constantPool - constant poolannotationItem - annotation itemclassDefinitionItem - | Method Detail |
|---|
public void visit(java.lang.String name,
java.lang.Object value)
AnnotationVisitor
visit in class AnnotationWritername - the value name.value - the actual value, whose type must be Byte,
Boolean, Character, Short,
Integer, Long, Float, Double,
String or Type. This value can also be an array
of byte, boolean, short, char, int, long, float or double values
(this is equivalent to using visitArray and
visiting each array element in turn, but is more convenient).public void visitEnd()
AnnotationVisitor
visitEnd in class AnnotationWriter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||