| java.lang.Object javassist.bytecode.AttributeInfo javassist.bytecode.ConstantAttribute
ConstantAttribute | public class ConstantAttribute extends AttributeInfo (Code) | | ConstantValue_attribute .
|
Field Summary | |
final public static String | tag The name of this attribute "ConstantValue" . |
tag | final public static String tag(Code) | | The name of this attribute "ConstantValue" .
|
ConstantAttribute | public ConstantAttribute(ConstPool cp, int index)(Code) | | Constructs a ConstantValue attribute.
Parameters: cp - a constant pool table. Parameters: index - constantvalue_index of ConstantValue_attribute . |
copy | public AttributeInfo copy(ConstPool newCp, Map classnames)(Code) | | Makes a copy. Class names are replaced according to the
given Map object.
Parameters: newCp - the constant pool table used by the new copy. Parameters: classnames - pairs of replaced and substitutedclass names. |
getConstantValue | public int getConstantValue()(Code) | | Returns constantvalue_index .
|
|
|