public abstract class BCIRenumberedAttribute extends Attribute
Modifier and Type | Field and Description |
---|---|
protected boolean |
renumbered |
attributeName
NONE
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(List byteCodeOffsets)
In Pack200, line number tables are BCI renumbered.
|
abstract String |
toString() |
protected abstract void |
writeBody(DataOutputStream dos) |
doWrite, equals, getAttributeName, getLengthIncludingHeader, getNestedClassFileEntries, hashCode, isSourceFileAttribute, resolve
objectHashCode, write
protected boolean renumbered
public BCIRenumberedAttribute(CPUTF8 attributeName)
public boolean hasBCIRenumbering()
Attribute
hasBCIRenumbering
in class Attribute
protected abstract void writeBody(DataOutputStream dos) throws IOException
writeBody
in class Attribute
IOException
public abstract String toString()
toString
in class ClassFileEntry
protected abstract int[] getStartPCs()
public void renumber(List byteCodeOffsets) throws Pack200Exception
byteCodeOffsets
- List of Integer offsets of the bytecode arrayPack200Exception
- TODOCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.