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<Integer> 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)
protected abstract int[] getStartPCs()
public boolean hasBCIRenumbering()
AttributehasBCIRenumbering in class Attributepublic void renumber(List<Integer> byteCodeOffsets) throws Pack200Exception
byteCodeOffsets - List of Integer offsets of the bytecode arrayPack200Exception - TODOpublic abstract String toString()
toString in class ClassFileEntryprotected abstract void writeBody(DataOutputStream dos) throws IOException
writeBody in class AttributeIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.