Package org.openjdk.asmtools.jdis
Class AttributeData<A extends AttributeData<A>>
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.AttributeData<A>
- All Implemented Interfaces:
Printable
- Direct Known Subclasses:
EnclosingMethodData,NestHostData,SourceFileData
Base class for attributes: SourceFile, NestHost, EnclosingMethod with format:
attribute { u2 attribute_name_index; u4 attribute_length; SourceFile, NestHost: 2 EnclosingMethod: 4 u2 constant_pool_index; sourcefile_index, host_class_index, class_index **** u2 method_index; Only if EnclosingMethod
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.openjdk.asmtools.jdis.Indenter
Indenter.NotImplementedException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprivate AttributeData.Printableprivate AttributeData.Printableprotected ToolLoggerprotected intprotected Stringprivate AttributeData.Printableprotected ConstantPoolFields inherited from class org.openjdk.asmtools.jdis.Indenter
ARGUMENT_DELIMITER, bestEffort, BootstrapArgumentsBreakPositions, BootstrapMethodBreakPositions, CIRCULAR_COMMENT_OFFSET, COMMENT_PADDING, commentOffset, detailedOutput, dropCharacterRange, dropClasses, dropSignatures, dropSourceFile, extraDetailedOutput, hasSize, INDENT_CHAR, INDENT_OFFSET, INDENT_STEP, INDENT_STRING, INITIAL_COMMENT_OFFSET, INSTR_PREFIX_LENGTH, InvokeDynamicBreakPositions, LdwBreakPositions, LINE_SPLITTER, maxSize, maxSizeCalculated, NO_BSM_ARGUMENTS, NO_BSM_ARGUMENTS_REGEX, OPERAND_PLACEHOLDER_LENGTH, printable, printConstantPool, printCPIndex, printHEX, printLabelAsIdentifiers, printLineNumber, printLineTable, printLineTableLines, printLineTableNumbers, printLocalVariables, printLocalVariableTypes, printProgramCounter, printSourceLines, PROGRAM_COUNTER_PLACEHOLDER_LENGTH, REPLACEMENT_NO_BSM_ARGUMENTS, skipComments, STACKMAP_TYPE_PLACEHOLDER_LENGTH, sysInfo, TABLE_PADDING, tableFormat, tableToken, toolOutput, UNDEFINED -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeData(ClassData classData, TableFormatModel.Token token) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected voidread(DataInputStream in, int attribute_length) protected voidThere are no differences between the simple (jasm) and extended (table) presentations of NestHost, SourceFile, EnclosingMethod attribute, and NestMembers attribute.Methods inherited from class org.openjdk.asmtools.jdis.Indenter
decIndent, decIndent, enlargedIndent, enlargedIndent, formatOperandLine, getCommentOffset, getIndentSize, getIndentStep, getIndentString, getLabelPrefix, getOffset, getPrintAttributeCommentPadding, getPrintAttributeKeyPadding, getTitle, incIndent, incIndent, Indent, IndentPadLeft, IndentPadRight, initIndent, isTableOutput, jasmPrint, nCopies, padLeft, PadLeft, padRight, PadRight, print, print, print, print, printIndent, printIndent, printIndent, printIndentLn, printIndentLn, printIndentLn, printIndentPadLeft, printIndentPadRight, println, println, println, println, printPadLeft, printPadRight, setCommentOffset, setHasSize, setOffset, setTheSame, tableFormatSupported, tablePrintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.jdis.Printable
isPrintable
-
Field Details
-
pool
-
logger
-
attribute_length
protected int attribute_length -
name
-
cpx
protected int cpx -
methodCpx
protected int methodCpx -
idxStringSupplier
-
indexPrinter
-
namePrinter
-
indexAndNamePrinter
-
-
Constructor Details
-
AttributeData
-
-
Method Details
-
read
- Throws:
IOExceptionClassFormatError
-
jasmPrint
protected void jasmPrint() -
tablePrint
protected void tablePrint()There are no differences between the simple (jasm) and extended (table) presentations of NestHost, SourceFile, EnclosingMethod attribute, and NestMembers attribute.- Overrides:
tablePrintin classIndenter
-
calculateName
-