Top Fields Constructors Methods
org.aspectj.apache.bcel.classfile.annotation

public abstract Class ElementValue

extends Object
Class Inheritance
Known Direct Subclasses
org.aspectj.apache.bcel.classfile.annotation.EnumElementValue, org.aspectj.apache.bcel.classfile.annotation.SimpleElementValue, org.aspectj.apache.bcel.classfile.annotation.AnnotationElementValue, org.aspectj.apache.bcel.classfile.annotation.ArrayElementValue, org.aspectj.apache.bcel.classfile.annotation.ClassElementValue
Imports
java.io.DataInputStream, .DataOutputStream, .IOException, org.aspectj.apache.bcel.classfile.ConstantPool

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
protected ConstantPool
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
protected int

Constructor Summary

AccessConstructor and Description
protected
ElementValue(int type, ConstantPool cpool)

Method Summary

Modifier and TypeMethod and Description
public static ElementValue
copy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries)

Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.

public abstract void
protected ConstantPool
public int
public static ElementValue
public abstract String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ANNOTATIONback to summary
public static final int ANNOTATION
ARRAYback to summary
public static final int ARRAY
CLASSback to summary
public static final int CLASS
cpoolback to summary
protected ConstantPool cpool
ENUM_CONSTANTback to summary
public static final int ENUM_CONSTANT
PRIMITIVE_BOOLEANback to summary
public static final int PRIMITIVE_BOOLEAN
PRIMITIVE_BYTEback to summary
public static final int PRIMITIVE_BYTE
PRIMITIVE_CHARback to summary
public static final int PRIMITIVE_CHAR
PRIMITIVE_DOUBLEback to summary
public static final int PRIMITIVE_DOUBLE
PRIMITIVE_FLOATback to summary
public static final int PRIMITIVE_FLOAT
PRIMITIVE_INTback to summary
public static final int PRIMITIVE_INT
PRIMITIVE_LONGback to summary
public static final int PRIMITIVE_LONG
PRIMITIVE_SHORTback to summary
public static final int PRIMITIVE_SHORT
STRINGback to summary
public static final int STRING
typeback to summary
protected int type

Constructor Detail

ElementValueback to summary
protected ElementValue(int type, ConstantPool cpool)

Method Detail

copyback to summary
public static ElementValue copy(ElementValue value, ConstantPool cpool, boolean copyPoolEntries)

Creates an (modifiable) ElementValueGen copy of an (immutable) ElementValue - constant pool is assumed correct.

dumpback to summary
public abstract void dump(DataOutputStream dos) throws IOException
getConstantPoolback to summary
protected ConstantPool getConstantPool()
getElementValueTypeback to summary
public int getElementValueType()
readElementValueback to summary
public static ElementValue readElementValue(DataInputStream dis, ConstantPool cpGen) throws IOException
stringifyValueback to summary
public abstract String stringifyValue()