public static class ClassFile.ConstantValueAttribute extends ClassFile.AttributeInfo
| Modifier and Type | Field and Description |
|---|---|
private short |
constantValueIndex |
| Constructor and Description |
|---|
ConstantValueAttribute(short attributeNameIndex,
short constantValueIndex) |
| Modifier and Type | Method and Description |
|---|---|
ClassFile.ConstantValuePoolInfo |
getConstantValue(ClassFile classFile) |
private static ClassFile.AttributeInfo |
loadBody(short attributeNameIndex,
java.io.DataInputStream dis) |
protected void |
storeBody(java.io.DataOutputStream dos)
Writes the body of this attribute in an attribute-type dependent way; see JVMS7 4.7.2 and following.
|
storeConstantValueAttribute(short attributeNameIndex,
short constantValueIndex)
public ClassFile.ConstantValuePoolInfo getConstantValue(ClassFile classFile)
private static ClassFile.AttributeInfo loadBody(short attributeNameIndex, java.io.DataInputStream dis) throws java.io.IOException
java.io.IOExceptionprotected void storeBody(java.io.DataOutputStream dos)
throws java.io.IOException
ClassFile.AttributeInfostoreBody in class ClassFile.AttributeInfojava.io.IOException