public class ClassData extends MemberData
Modifier and Type | Field and Description |
---|---|
protected ArrayList<BootstrapMethodData> |
bootstrapMethods |
protected ArrayList<FieldData> |
fields |
protected ArrayList<org.openjdk.asmtools.jdis.InnerClassData> |
innerClasses |
protected int[] |
interfaces |
protected int |
major_version |
protected ArrayList<MethodData> |
methods |
protected int |
minor_version |
protected ModuleData |
moduleData |
protected NestHostData |
nestHost |
protected NestMembersData |
nestMembers |
protected PrintWriter |
out |
protected PermittedSubclassesData |
permittedSubclassesData |
protected String |
pkgPrefix |
protected ConstantPool |
pool |
protected RecordData |
record |
protected int |
source_cpx |
protected int |
super_cpx |
protected int |
this_cpx |
protected Tool |
tool |
access, attrs, cls, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, options, pr_cpx, signature, visibleAnnotations, visibleTypeAnnotations
Constructor and Description |
---|
ClassData(PrintWriter out,
Tool tool) |
Modifier and Type | Method and Description |
---|---|
String |
getSrcLine(int lnum)
Read and resolve the attribute data
|
protected boolean |
handleAttributes(DataInputStream in,
Tables.AttrTag attrtag,
int attrlen)
Read and resolve the attribute data
|
void |
print() |
void |
read(File in) |
void |
read(String in) |
protected void |
readFields(DataInputStream in)
Read and resolve the field data
|
protected void |
readInterfaces(DataInputStream in)
Read and resolve the interface data
|
protected void |
readMethods(DataInputStream in)
Read and resolve the method data
|
getAnnotationsCount, init, printAnnotations, printVar, readAttributes
decreaseIndent, getIndentString, increaseIndent, indent, setIndent
protected Tool tool
protected int minor_version
protected int major_version
protected int this_cpx
protected int super_cpx
protected int source_cpx
protected ConstantPool pool
protected int[] interfaces
protected ArrayList<MethodData> methods
protected RecordData record
protected ArrayList<org.openjdk.asmtools.jdis.InnerClassData> innerClasses
protected ArrayList<BootstrapMethodData> bootstrapMethods
protected ModuleData moduleData
protected NestHostData nestHost
protected NestMembersData nestMembers
protected PermittedSubclassesData permittedSubclassesData
protected PrintWriter out
protected String pkgPrefix
public ClassData(PrintWriter out, Tool tool)
public void read(File in) throws IOException
IOException
public void read(String in) throws IOException
IOException
protected void readFields(DataInputStream in) throws IOException
IOException
protected void readMethods(DataInputStream in) throws IOException
IOException
protected void readInterfaces(DataInputStream in) throws IOException
IOException
protected boolean handleAttributes(DataInputStream in, Tables.AttrTag attrtag, int attrlen) throws IOException
handleAttributes
in class MemberData
IOException
public String getSrcLine(int lnum)
public void print() throws IOException
print
in class MemberData
IOException
Copyright © 2021. All Rights Reserved.