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<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, resolve
objectHashCode, write
protected boolean renumbered
public BCIRenumberedAttribute(CPUTF8 attributeName)
protected abstract int[] getStartPCs()
public boolean hasBCIRenumbering()
Attribute
hasBCIRenumbering
in class Attribute
public void renumber(List<Integer> byteCodeOffsets) throws Pack200Exception
byteCodeOffsets
- List of Integer offsets of the bytecode arrayPack200Exception
- TODOpublic abstract String toString()
toString
in class ClassFileEntry
protected abstract void writeBody(DataOutputStream dos) throws IOException
writeBody
in class Attribute
IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.