Class ConstantPoolIndexData
java.lang.Object
org.openjdk.asmtools.jasm.ConstantPoolIndexData
- All Implemented Interfaces:
DataWriter
Writable element of the DataVector u2 vector[elements];
u2 unset_fields[number_of_unset_fields]; Each entry in the unset_fields array must be a valid index into the constant_pool table. The constant_pool entry at that index must be a CONSTANT_NameAndType_info structure with a field descriptor.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) ConstCell(package private) ConstantPool -
Constructor Summary
ConstructorsConstructorDescriptionConstantPoolIndexData(int cpIndex) ConstantPoolIndexData(ConstCell nameAndType, ConstantPool pool) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataWriter
isCountable
-
Field Details
-
nameAndType
ConstCell nameAndType -
pool
ConstantPool pool -
cpIndex
int cpIndex
-
-
Constructor Details
-
ConstantPoolIndexData
-
ConstantPoolIndexData
public ConstantPoolIndexData(int cpIndex)
-
-
Method Details
-
write
- Specified by:
writein interfaceDataWriter- Throws:
IOException
-
getLength
public int getLength()- Specified by:
getLengthin interfaceDataWriter
-