public class LocalVariableTableAttribute extends BCIRenumberedAttribute
renumberedNONE| 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 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) |
hasBCIRenumberingdoWrite, equals, getAttributeName, getLengthIncludingHeader, hashCode, isSourceFileAttributeobjectHashCode, writepublic 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 BCIRenumberedAttributeprotected void writeBody(DataOutputStream dos) throws IOException
writeBody in class BCIRenumberedAttributeIOExceptionprotected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries in class Attributeprotected void resolve(ClassConstantPool pool)
ClassFileEntrypublic String toString()
toString in class BCIRenumberedAttributeprotected int[] getStartPCs()
getStartPCs in class BCIRenumberedAttributepublic void renumber(List byteCodeOffsets) throws Pack200Exception
BCIRenumberedAttributerenumber in class BCIRenumberedAttributebyteCodeOffsets - List of Integer offsets of the bytecode arrayPack200Exception - TODOCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.