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.
|
store
ConstantValueAttribute(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.IOException
protected void storeBody(java.io.DataOutputStream dos) throws java.io.IOException
ClassFile.AttributeInfo
storeBody
in class ClassFile.AttributeInfo
java.io.IOException