| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final int | |
| private final List | |
| private ClassConstantPool |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public int | |
| 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 String | toString()
Implements abstract org. |
| protected void | writeBody(final DataOutputStream dos)
Implements abstract org. |
| body | back to summary |
|---|---|
| private final List<Object> body | |
| layoutIndex | back to summary |
|---|---|
| private final int layoutIndex | |
| lengths | back to summary |
|---|---|
| private final List<Integer> lengths | |
| pool | back to summary |
|---|---|
| private ClassConstantPool pool | |
| NewAttribute | back to summary |
|---|---|
| public NewAttribute(final CPUTF8 attributeName, final int layoutIndex) | |
| addBCIndex | back to summary |
|---|---|
| public void addBCIndex(final int length, final int value) | |
| addBCLength | back to summary |
|---|---|
| public void addBCLength(final int length, final int value) | |
| addBCOffset | back to summary |
|---|---|
| public void addBCOffset(final int length, final int value) | |
| addInteger | back to summary |
|---|---|
| public void addInteger(final int length, final long value) | |
| addToBody | back to summary |
|---|---|
| public void addToBody(final int length, final Object value) | |
| getLayoutIndex | back to summary |
|---|---|
| public int getLayoutIndex() | |
| 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.
| |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| actualValue | back to summary |
|---|---|
| pack-priv int actualValue | |
| AbstractBcValue | back to summary |
|---|---|
| private AbstractBcValue() | |
| setActualValue | back to summary |
|---|---|
| public void setActualValue(final int value) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| index | back to summary |
|---|---|
| private final int index | |
| BCIndex | back to summary |
|---|---|
| pack-priv BCIndex(final int index) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| length | back to summary |
|---|---|
| private final int length | |
| BCLength | back to summary |
|---|---|
| pack-priv BCLength(final int length) | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| BCOffset | back to summary |
|---|---|
| pack-priv BCOffset(final int offset) | |
| setIndex | back to summary |
|---|---|
| public void setIndex(final int index) | |