Class LocalVariableTypeTable

java.lang.Object
org.vesalainen.bcc.AttributeInfo
org.vesalainen.bcc.LocalVariableTypeTable
All Implemented Interfaces:
Writable

public class LocalVariableTypeTable extends AttributeInfo
  • Field Details

  • Constructor Details

    • LocalVariableTypeTable

      public LocalVariableTypeTable(SubClass subClass, int codelength)
    • LocalVariableTypeTable

      LocalVariableTypeTable(ClassFile classFile, int attribute_name_index, int attribute_length, DataInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • addLocalTypeVariable

      public void addLocalTypeVariable(VariableElement ve, String signature, int index)
      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

      public void write(DataOutput out) throws IOException
      Specified by:
      write in interface Writable
      Overrides:
      write in class AttributeInfo
      Throws:
      IOException
    • getAttributeSize

      public int getAttributeSize()
      Overrides:
      getAttributeSize in class AttributeInfo