public abstract class BCIRenumberedAttribute extends Attribute
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
renumbered |
attributeNameNONE| Constructor and Description |
|---|
BCIRenumberedAttribute(CPUTF8 attributeName) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
getLength() |
protected abstract int[] |
getStartPCs() |
boolean |
hasBCIRenumbering()
Answer true if the receiver needs to have BCI renumbering applied to it; otherwise answer false.
|
void |
renumber(java.util.List byteCodeOffsets)
In Pack200, line number tables are BCI renumbered.
|
abstract java.lang.String |
toString() |
protected abstract void |
writeBody(java.io.DataOutputStream dos) |
doWrite, equals, getAttributeName, getLengthIncludingHeader, getNestedClassFileEntries, hashCode, isSourceFileAttribute, resolveobjectHashCode, writeprotected boolean renumbered
public BCIRenumberedAttribute(CPUTF8 attributeName)
public boolean hasBCIRenumbering()
AttributehasBCIRenumbering in class Attributeprotected abstract void writeBody(java.io.DataOutputStream dos) throws java.io.IOException
public abstract java.lang.String toString()
toString in class ClassFileEntryprotected abstract int[] getStartPCs()
public void renumber(java.util.List byteCodeOffsets) throws Pack200Exception
byteCodeOffsets - List of Integer offsets of the bytecode arrayPack200Exception - TODO