Class LocalVariableTypeTable
java.lang.Object
org.vesalainen.bcc.AttributeInfo
org.vesalainen.bcc.LocalVariableTypeTable
- All Implemented Interfaces:
Writable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intFields inherited from class AttributeInfo
attribute_length, attribute_name_index, classFile -
Constructor Summary
ConstructorsConstructorDescriptionLocalVariableTypeTable(ClassFile classFile, int attribute_name_index, int attribute_length, DataInput in) LocalVariableTypeTable(SubClass subClass, int codelength) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocalTypeVariable(int nameIndex, int signatureIndex, int index) Deprecated.voidaddLocalTypeVariable(VariableElement ve, String signature, int index) Adds a entry into LocalTypeVariableTable if variable is of generic typeintbooleanisEmpty()voidwrite(DataOutput out) Methods inherited from class AttributeInfo
getInstance, isOfType
-
Field Details
-
localTypeVariables
-
codeLength
private int codeLength
-
-
Constructor Details
-
LocalVariableTypeTable
-
LocalVariableTypeTable
LocalVariableTypeTable(ClassFile classFile, int attribute_name_index, int attribute_length, DataInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addLocalTypeVariable
Adds a entry into LocalTypeVariableTable if variable is of generic type- Parameters:
ve-index-
-
addLocalTypeVariable
public void addLocalTypeVariable(int nameIndex, int signatureIndex, int index) Deprecated.- Parameters:
nameIndex-signatureIndex-index-
-
write
- Specified by:
writein interfaceWritable- Overrides:
writein classAttributeInfo- Throws:
IOException
-
getAttributeSize
public int getAttributeSize()- Overrides:
getAttributeSizein classAttributeInfo
-