Class RecordData.Component
- All Implemented Interfaces:
Printable
- Enclosing class:
RecordData
record_component_info {
u2 name_index;
u2 descriptor_index;
u2 attributes_count;
attribute_info attributes[attributes_count];
}
-
Nested Class Summary
Nested classes/interfaces inherited from class MemberData
MemberData.AnnotationElementState
-
Field Summary
FieldsFields inherited from class MemberData
access, attributes, data, DEFAULT_VALUE_PREFIX, environment, invisibleAnnotations, invisibleTypeAnnotations, isDeprecated, isSynthetic, memberType, pool, signature, visibleAnnotations, visibleTypeAnnotations
Fields 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 TypeMethodDescriptionprotected boolean
handleAttributes
(DataInputStream in, EAttribute attributeTag, int attributeLength) void
print()
Prints the component data to the current output stream.read
(DataInputStream in) Read and resolve the component data called from ClassData.Methods inherited from class MemberData
getAnnotationElementState, getAnnotationsCount, getConstantPool, getPseudoFlagsAsString, init, printAnnotations, printVar, readAttributes, setElementState
Methods 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, setTheSame
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Printable
isPrintable
-
Field Details
-
name_cpx
private int name_cpx -
descriptor_cpx
private int descriptor_cpx
-
-
Constructor Details
-
Component
-
-
Method Details
-
handleAttributes
protected boolean handleAttributes(DataInputStream in, EAttribute attributeTag, int attributeLength) throws IOException - Overrides:
handleAttributes
in classMemberData<ClassData>
- Throws:
IOException
-
read
Read and resolve the component data called from ClassData.- Throws:
IOException
-
print
Prints the component data to the current output stream. called from RecordData.- Specified by:
print
in interfacePrintable
- Overrides:
print
in classIndenter
- Throws:
IOException
-