Class AttrData
java.lang.Object
org.openjdk.asmtools.jdis.AttrData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate EAttributeprivate byte[](package private) final Environmentprivate intprivate final intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintATTRIBUTE_NAME_attribute { u2 attribute_name_index; u4 attribute_length; ...voidread(int name_cpx, int attrLength, DataInputStream in) setLength(int length) setNameCpx(int name_cpx) ATTRIBUTE_NAME_attribute { u2 attribute_name_index; u4 attribute_length; ...
-
Field Details
-
MAX_DATA_PRINT_SIZE
private final int MAX_DATA_PRINT_SIZE- See Also:
-
attributeInfo
-
name_cpx
private int name_cpx -
length
private int length -
data
private byte[] data -
environment
-
-
Constructor Details
-
AttrData
-
-
Method Details
-
read
- Throws:
IOException
-
dataAsString
-
setNameCpx
ATTRIBUTE_NAME_attribute { u2 attribute_name_index; u4 attribute_length; ... }- Parameters:
name_cpx- set the ConstantPool index of the attribute name- Returns:
- the current instance
-
setLength
-
getNameCpx
public int getNameCpx()ATTRIBUTE_NAME_attribute { u2 attribute_name_index; u4 attribute_length; ... }- Returns:
- attribute_name_index
-
getLength
public int getLength() -
getAttributeInfo
-