public class LocalVariableTypeTableAttribute extends BCIRenumberedAttribute
renumbered
NONE
Constructor and Description |
---|
LocalVariableTypeTableAttribute(int local_variable_type_table_length,
int[] start_pcs,
int[] lengths,
CPUTF8[] names,
CPUTF8[] signatures,
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 LocalVariableTypeTableAttribute(int local_variable_type_table_length, int[] start_pcs, int[] lengths, CPUTF8[] names, CPUTF8[] signatures, 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 void resolve(ClassConstantPool pool)
ClassFileEntry
protected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries
in class Attribute
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
- TODOpublic String toString()
toString
in class BCIRenumberedAttribute
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.