org.apache.bcel.generic
Class AnnotationElementValueGen
java.lang.Object
org.apache.bcel.generic.ElementValueGen
org.apache.bcel.generic.AnnotationElementValueGen
public class AnnotationElementValueGen
- extends ElementValueGen
Fields inherited from class org.apache.bcel.generic.ElementValueGen |
ANNOTATION, ARRAY, CLASS, cpGen, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationElementValueGen
public AnnotationElementValueGen(AnnotationEntryGen a,
ConstantPoolGen cpool)
AnnotationElementValueGen
public AnnotationElementValueGen(int type,
AnnotationEntryGen annotation,
ConstantPoolGen cpool)
AnnotationElementValueGen
public AnnotationElementValueGen(AnnotationElementValue value,
ConstantPoolGen cpool,
boolean copyPoolEntries)
dump
public void dump(java.io.DataOutputStream dos)
throws java.io.IOException
- Specified by:
dump
in class ElementValueGen
- Throws:
java.io.IOException
stringifyValue
public java.lang.String stringifyValue()
- Specified by:
stringifyValue
in class ElementValueGen
getElementValue
public ElementValue getElementValue()
- Return immutable variant of this AnnotationElementValueGen
- Specified by:
getElementValue
in class ElementValueGen
getAnnotation
public AnnotationEntryGen getAnnotation()
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.