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 Pathprotected ArrayList<InnerClassData> protected int[]protected intprotected ArrayList<MethodData> protected intprotected ModuleDataprotected NestHostDataprotected NestMembersDataprotected PrintWriterprotected PermittedSubclassesDataprotected Stringprotected ConstantPoolprotected RecordDataprotected intprivate TextLinesprotected intprotected intprotected ToolFields 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 booleanhandleAttributes(DataInputStream in, Tables.AttrTag attrtag, int attrlen) Read and resolve the attribute dataprivate booleanvoidprint()private <T extends AnnotationData>
voidprintAnnotations(List<T> annotations) private voidprintMemberDataList(List<? extends MemberData> list) private voidread(DataInputStream in) Read and resolve the class datavoidvoidprotected voidRead and resolve the field dataprotected voidRead and resolve the interface dataprotected voidRead and resolve the method dataMethods inherited from class org.openjdk.asmtools.jdis.MemberData
getAnnotationsCount, init, printAnnotations, printVar, readAttributesMethods 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:
handleAttributesin classMemberData- Throws:
IOException
-
read
Read and resolve the class data- Throws:
IOException
-
getSrcLine
Read and resolve the attribute data -
printAnnotations
-
print
- Specified by:
printin classMemberData- Throws:
IOException
-
isModuleUnit
private boolean isModuleUnit() -
printMemberDataList
- Throws:
IOException
-
getIssues
-