ConstantValue_attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | tag
The name of this attribute |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | ConstantAttribute(ConstPool
a constant pool table. cp, int constantvalue_index
of ConstantValue_attribute.Constructs a ConstantValue attribute. |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeInfo | |
| public int |
| tag | back to summary |
|---|---|
| public static final String tag The name of this attribute | |
| ConstantAttribute | back to summary |
|---|---|
| pack-priv ConstantAttribute(ConstPool cp, int n, DataInputStream in) throws IOException | |
| ConstantAttribute | back to summary |
|---|---|
| public ConstantAttribute(ConstPool cp, int index) Constructs a ConstantValue attribute.
| |
| copy | back to summary |
|---|---|
| public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames) Overrides javassist. Makes a copy. Class names are replaced according to the
given | |
| getConstantValue | back to summary |
|---|---|
| public int getConstantValue() Returns | |