| Modifier and Type | Field and Description |
|---|---|
| private static CPUTF8 | |
| public List | |
| public List | |
| public List | |
| public int | |
| public List | |
| public int | |
| public int |
| Access | Constructor and Description |
|---|---|
| public | CodeAttribute(final int maxStack, final int maxLocals, final byte[] codePacked, final Segment segment, final OperandManager operandManager, final List<ExceptionTableEntry> exceptionTable)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected int | |
| protected ClassFileEntry[] | |
| protected int[] | |
| public void | renumber(final List<Integer>
List of Integer offsets of the byte code array byteCodeOffsets)Overrides org. |
| protected void | resolve(final ClassConstantPool
TODO pool)Overrides org. |
| public static void | |
| public String | toString()
Implements abstract org. |
| protected void | writeBody(final DataOutputStream dos)
Implements abstract org. |
| attributeName | back to summary |
|---|---|
| private static CPUTF8 attributeName Hides org. | |
| attributes | back to summary |
|---|---|
| public List<Attribute> attributes | |
| byteCodeOffsets | back to summary |
|---|---|
| public List<Integer> byteCodeOffsets | |
| byteCodes | back to summary |
|---|---|
| public List<ByteCode> byteCodes | |
| codeLength | back to summary |
|---|---|
| public int codeLength | |
| exceptionTable | back to summary |
|---|---|
| public List<ExceptionTableEntry> exceptionTable | |
| maxLocals | back to summary |
|---|---|
| public int maxLocals | |
| maxStack | back to summary |
|---|---|
| public int maxStack | |
| CodeAttribute | back to summary |
|---|---|
| public CodeAttribute(final int maxStack, final int maxLocals, final byte[] codePacked, final Segment segment, final OperandManager operandManager, final List<ExceptionTableEntry> exceptionTable) | |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(final Attribute attribute) | |
| getLength | back to summary |
|---|---|
| protected int getLength() Implements abstract org.
| |
| getNestedClassFileEntries | back to summary |
|---|---|
| protected ClassFileEntry[] getNestedClassFileEntries() Overrides org.
| |
| getStartPCs | back to summary |
|---|---|
| protected int[] getStartPCs() Implements abstract org.
| |
| renumber | back to summary |
|---|---|
| public void renumber(final List<Integer> byteCodeOffsets) Overrides org. Doc from org. In Pack200, line number tables are BCI renumbered. This method takes the byteCodeOffsets (which is a List of Integers specifying the offset in the byte code array of each instruction) and updates the start_pcs so that it points to the instruction index itself, not the BCI renumbering of the instruction. | |
| resolve | back to summary |
|---|---|
| protected void resolve(final ClassConstantPool pool) Overrides org. Doc from org. Allows the constant pool entries to resolve their nested entries.
| |
| setAttributeName | back to summary |
|---|---|
| public static void setAttributeName(final CPUTF8 attributeName) | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract org. Doc from java. Returns a string representation of the object. | |
| writeBody | back to summary |
|---|---|
| protected void writeBody(final DataOutputStream dos) throws IOException Implements abstract org.
| |