public class LocalVariableTableAttribute extends BCIRenumberedAttribute
renumbered
NONE
Constructor and Description |
---|
LocalVariableTableAttribute(int local_variable_table_length,
int[] start_pcs,
int[] lengths,
CPUTF8[] names,
CPUTF8[] descriptors,
int[] indexes) |
Modifier and Type | Method and Description |
---|---|
protected int |
getLength() |
protected ClassFileEntry[] |
getNestedClassFileEntries() |
protected int[] |
getStartPCs() |
void |
renumber(List<Integer> byteCodeOffsets)
In Pack200, line number tables are BCI renumbered.
|
protected void |
resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entries.
|
static void |
setAttributeName(CPUTF8 cpUTF8Value) |
void |
setCodeLength(int length) |
String |
toString() |
protected void |
writeBody(DataOutputStream dos) |
hasBCIRenumbering
doWrite, equals, getAttributeName, getLengthIncludingHeader, hashCode, isSourceFileAttribute
objectHashCode, write
public LocalVariableTableAttribute(int local_variable_table_length, int[] start_pcs, int[] lengths, CPUTF8[] names, CPUTF8[] descriptors, int[] indexes)
public static void setAttributeName(CPUTF8 cpUTF8Value)
public void setCodeLength(int length)
protected int getLength()
getLength
in class BCIRenumberedAttribute
protected void writeBody(DataOutputStream dos) throws IOException
writeBody
in class BCIRenumberedAttribute
IOException
protected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries
in class Attribute
protected void resolve(ClassConstantPool pool)
ClassFileEntry
public String toString()
toString
in class BCIRenumberedAttribute
protected int[] getStartPCs()
getStartPCs
in class BCIRenumberedAttribute
public void renumber(List<Integer> byteCodeOffsets) throws Pack200Exception
BCIRenumberedAttribute
renumber
in class BCIRenumberedAttribute
byteCodeOffsets
- List of Integer offsets of the bytecode arrayPack200Exception
- TODOCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.