Class AnnotationData<T extends MemberData>
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.MemberData
org.openjdk.asmtools.jdis.AnnotationData<T>
- All Implemented Interfaces:
Printable
- Direct Known Subclasses:
TypeAnnotationData
-
Nested Class Summary
Nested classes/interfaces inherited from class MemberData
MemberData.AnnotationElementState -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayList<AnnotationElement> protected Stringprivate final booleanprotected Stringprivate intprotected StringFields inherited from class MemberData
access, attributes, data, DEFAULT_VALUE_PREFIX, environment, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, pool, signature, visibleAnnotations, visibleTypeAnnotationsFields inherited from class Indenter
ARGUMENT_DELIMITER, COMMENT_OFFSET, COMMENT_PADDING, INDENT_OFFSET, INDENT_STEP, INDENT_STRING, INSTR_PREFIX_LENGTH, LINE_SPLITTER, OPERAND_PLACEHOLDER_LENGTH, printConstantPool, printCPIndex, printHEX, printLabelAsIdentifiers, printLineTable, printLocalVars, printProgramCounter, printSourceLines, PROGRAM_COUNTER_PLACEHOLDER_LENGTH, skipComments, STACKMAP_TYPE_PLACEHOLDER_LENGTH, toolOutput -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()voidprint()protected voidprotected voidprotected voidprotected voidvoidread(DataInputStream in) toString()Methods inherited from class MemberData
getAnnotationElementState, getAnnotationsCount, getConstantPool, getPseudoFlagsAsString, handleAttributes, init, printAnnotations, printVar, readAttributes, setElementStateMethods inherited from class Indenter
decIndent, enlargedIndent, enlargedIndent, getCommentOffset, getIndentSize, getIndentStep, getIndentString, getOffset, incIndent, Indent, IndentPadLeft, IndentPadRight, initIndent, nCopies, padLeft, PadLeft, padRight, PadRight, print, print, printIndent, printIndent, printIndent, printIndentLn, printIndentLn, printIndentLn, printIndentPadRight, println, println, println, println, printPadLeft, printPadRight, resetIndent, setCommentOffset, setOffset, setTheSameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Printable
isPrintable
-
Field Details
-
visibleAnnotationToken
-
invisibleAnnotationToken
-
dataName
-
annotationElements
-
type_cpx
private int type_cpx -
invisible
private final boolean invisible
-
-
Constructor Details
-
AnnotationData
-
-
Method Details
-
read
- Throws:
IOException
-
print
- Specified by:
printin interfacePrintable- Overrides:
printin classIndenter- Throws:
IOException
-
printHeader
protected void printHeader() -
printBody
- Throws:
IOException
-
printBodyOfDefaultData
- Throws:
IOException
-
printBodyOfData
- Throws:
IOException
-
toString
-
isEmpty
public boolean isEmpty()- Returns:
- true if annotation has no elements
-