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(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, resolveobjectHashCode, writeprotected boolean renumbered
public BCIRenumberedAttribute(CPUTF8 attributeName)
public boolean hasBCIRenumbering()
AttributehasBCIRenumbering in class Attributeprotected abstract void writeBody(DataOutputStream dos) throws IOException
writeBody in class AttributeIOExceptionpublic abstract String toString()
toString in class ClassFileEntryprotected 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.