Package org.openjdk.asmtools.jdis
Class MemberData
- java.lang.Object
-
- org.openjdk.asmtools.jdis.Indenter
-
- org.openjdk.asmtools.jdis.MemberData
-
- Direct Known Subclasses:
ClassData,FieldData,MethodData,RecordData.Component
public abstract class MemberData extends Indenter
Base class for ClassData, MethodData, FieldData and RecordData(JEP 360)
-
-
Field Summary
Fields Modifier and Type Field Description protected intaccessprotected java.util.ArrayList<AttrData>attrsThe remaining attributes of this class, member( field or method) or record componentprotected ClassDataclsprotected java.util.ArrayList<AnnotationData>invisibleAnnotationsThe invisible annotations for this class, member( field or method) or record componentprotected java.util.ArrayList<TypeAnnotationData>invisibleTypeAnnotationsThe invisible annotations for this class, member( field or method) or record componentprotected booleanisDeprecatedprotected booleanisSyntheticprotected java.lang.StringmemberTypeprotected Optionsoptionsprotected java.io.PrintWriteroutprotected booleanpr_cpxprotected SignatureDatasignatureprotected java.util.ArrayList<AnnotationData>visibleAnnotationsThe visible annotations for this class, member( field or method) or record componentprotected java.util.ArrayList<TypeAnnotationData>visibleTypeAnnotationsThe visible annotations for this class, member( field or method) or record component
-
Constructor Summary
Constructors Constructor Description MemberData()MemberData(ClassData cls)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected intgetAnnotationsCount()protected booleanhandleAttributes(java.io.DataInputStream in, Tables.AttrTag attrtag, int attrlen)voidinit(ClassData cls)protected abstract voidprint()protected voidprintAnnotations(java.lang.String initialTab)protected voidprintVar(java.lang.StringBuilder bodyPrefix, java.lang.StringBuilder tailPrefix, int name_cpx, int type_cpx)protected voidreadAttributes(java.io.DataInputStream in)-
Methods inherited from class org.openjdk.asmtools.jdis.Indenter
decreaseIndent, getIndentString, increaseIndent, indent, setIndent
-
-
-
-
Field Detail
-
access
protected int access
-
isSynthetic
protected boolean isSynthetic
-
isDeprecated
protected boolean isDeprecated
-
signature
protected SignatureData signature
-
visibleAnnotations
protected java.util.ArrayList<AnnotationData> visibleAnnotations
The visible annotations for this class, member( field or method) or record component
-
invisibleAnnotations
protected java.util.ArrayList<AnnotationData> invisibleAnnotations
The invisible annotations for this class, member( field or method) or record component
-
visibleTypeAnnotations
protected java.util.ArrayList<TypeAnnotationData> visibleTypeAnnotations
The visible annotations for this class, member( field or method) or record component
-
invisibleTypeAnnotations
protected java.util.ArrayList<TypeAnnotationData> invisibleTypeAnnotations
The invisible annotations for this class, member( field or method) or record component
-
attrs
protected java.util.ArrayList<AttrData> attrs
The remaining attributes of this class, member( field or method) or record component
-
options
protected final Options options
-
pr_cpx
protected final boolean pr_cpx
-
cls
protected ClassData cls
-
out
protected java.io.PrintWriter out
-
memberType
protected java.lang.String memberType
-
-
Constructor Detail
-
MemberData
public MemberData(ClassData cls)
-
MemberData
public MemberData()
-
-
Method Detail
-
init
public void init(ClassData cls)
-
handleAttributes
protected boolean handleAttributes(java.io.DataInputStream in, Tables.AttrTag attrtag, int attrlen) throws java.io.IOException- Throws:
java.io.IOException
-
print
protected abstract void print() throws java.io.IOException- Throws:
java.io.IOException
-
getAnnotationsCount
protected final int getAnnotationsCount()
-
printAnnotations
protected final void printAnnotations(java.lang.String initialTab)
-
printVar
protected void printVar(java.lang.StringBuilder bodyPrefix, java.lang.StringBuilder tailPrefix, int name_cpx, int type_cpx)
-
readAttributes
protected void readAttributes(java.io.DataInputStream in) throws java.io.IOException- Throws:
java.io.IOException
-
-