Package org.openjdk.asmtools.jdis
Class FieldData
- java.lang.Object
-
- org.openjdk.asmtools.jdis.Indenter
-
- org.openjdk.asmtools.jdis.MemberData
-
- org.openjdk.asmtools.jdis.FieldData
-
public class FieldData extends MemberData
Field data for field members in a class of the Java Disassembler
-
-
Field Summary
Fields Modifier and Type Field Description protected int
name_cpx
protected int
type_cpx
protected int
value_cpx
-
Fields inherited from class org.openjdk.asmtools.jdis.MemberData
access, attrs, cls, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, options, out, pr_cpx, signature, visibleAnnotations, visibleTypeAnnotations
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
handleAttributes(java.io.DataInputStream in, Tables.AttrTag attrtag, int attrlen)
void
print()
Prints the field data to the current output stream. called from ClassData.void
read(java.io.DataInputStream in)
Read and resolve the field data called from ClassData.-
Methods inherited from class org.openjdk.asmtools.jdis.MemberData
getAnnotationsCount, init, printAnnotations, printVar, readAttributes
-
Methods inherited from class org.openjdk.asmtools.jdis.Indenter
decreaseIndent, getIndentString, increaseIndent, indent, setIndent
-
-
-
-
Constructor Detail
-
FieldData
public FieldData(ClassData cls)
-
-
Method Detail
-
handleAttributes
protected boolean handleAttributes(java.io.DataInputStream in, Tables.AttrTag attrtag, int attrlen) throws java.io.IOException
- Overrides:
handleAttributes
in classMemberData
- Throws:
java.io.IOException
-
read
public void read(java.io.DataInputStream in) throws java.io.IOException
Read and resolve the field data called from ClassData. Precondition: NumFields has already been read from the stream.- Throws:
java.io.IOException
-
print
public void print() throws java.io.IOException
Prints the field data to the current output stream. called from ClassData.- Specified by:
print
in classMemberData
- Throws:
java.io.IOException
-
-