Package org.openjdk.asmtools.jdis
Class ClassData
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.MemberData
org.openjdk.asmtools.jdis.ClassData
Central class data for of the Java Disassembler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ArrayList<BootstrapMethodData>
private Path
protected ArrayList<InnerClassData>
protected int[]
protected int
protected ArrayList<MethodData>
protected int
protected ModuleData
protected NestHostData
protected NestMembersData
protected PrintWriter
protected PermittedSubclassesData
protected String
protected ConstantPool
protected RecordData
protected int
private TextLines
protected int
protected int
protected Tool
Fields inherited from class org.openjdk.asmtools.jdis.MemberData
access, attrs, cls, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, options, pr_cpx, signature, visibleAnnotations, visibleTypeAnnotations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<IOException>
getSrcLine
(int lnum) Read and resolve the attribute dataprotected boolean
handleAttributes
(DataInputStream in, Tables.AttrTag attrtag, int attrlen) Read and resolve the attribute dataprivate boolean
void
print()
private <T extends AnnotationData>
voidprintAnnotations
(List<T> annotations) private void
printMemberDataList
(List<? extends MemberData> list) private void
read
(DataInputStream in) Read and resolve the class datavoid
void
protected void
Read and resolve the field dataprotected void
Read and resolve the interface dataprotected void
Read and resolve the method dataMethods 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
-
Field Details
-
tool
-
minor_version
protected int minor_version -
major_version
protected int major_version -
this_cpx
protected int this_cpx -
super_cpx
protected int super_cpx -
source_cpx
protected int source_cpx -
pool
-
interfaces
protected int[] interfaces -
fields
-
methods
-
record
-
innerClasses
-
bootstrapMethods
-
moduleData
-
nestHost
-
nestMembers
-
permittedSubclassesData
-
out
-
pkgPrefix
-
sourceLines
-
classFile
-
-
Constructor Details
-
ClassData
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
readFields
Read and resolve the field data- Throws:
IOException
-
readMethods
Read and resolve the method data- Throws:
IOException
-
readInterfaces
Read and resolve the interface data- Throws:
IOException
-
handleAttributes
protected boolean handleAttributes(DataInputStream in, Tables.AttrTag attrtag, int attrlen) throws IOException Read and resolve the attribute data- Overrides:
handleAttributes
in classMemberData
- Throws:
IOException
-
read
Read and resolve the class data- Throws:
IOException
-
getSrcLine
Read and resolve the attribute data -
printAnnotations
-
print
- Specified by:
print
in classMemberData
- Throws:
IOException
-
isModuleUnit
private boolean isModuleUnit() -
printMemberDataList
- Throws:
IOException
-
getIssues
-