Package org.openjdk.asmtools.jdis
Class CodeData
java.lang.Object
org.openjdk.asmtools.jdis.Indenter
org.openjdk.asmtools.jdis.CodeData
Code data for a code attribute in method members in a class of the Java Disassembler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe remaining attributes of this classprotected ClassData
protected byte[]
Raw byte array for the byte codesprotected int
Limit for the number of local varsprotected int
Limit for the stack sizeprotected MethodData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.openjdk.asmtools.jdis.iAtt
get_iAtt
(int pc) void
print()
printvoid
read
(DataInputStream in, int codeattrlen) readMethods inherited from class org.openjdk.asmtools.jdis.Indenter
decreaseIndent, getIndentString, increaseIndent, indent, setIndent
-
Field Details
-
code
protected byte[] codeRaw byte array for the byte codes -
max_stack
protected int max_stackLimit for the stack size -
max_locals
protected int max_localsLimit for the number of local vars -
attrs
The remaining attributes of this class -
cls
-
meth
-
-
Constructor Details
-
CodeData
-
-
Method Details
-
get_iAtt
protected org.openjdk.asmtools.jdis.iAtt get_iAtt(int pc) -
read
readread and resolve the code attribute data called from MethodData. precondition: NumFields has already been read from the stream.
- Throws:
IOException
-
print
printprints the code data to the current output stream. called from MethodData.
- Throws:
IOException
-