Class LocalVariableTypeInfo


  • public class LocalVariableTypeInfo
    extends java.lang.Object
    Representation of an Local Variable Type table entry.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LocalVariableTypeInfo create​(java.io.DataInput din)
      Create local variable type info.
      protected int getNameIndex()
      Return name index into Constant Pool.
      protected int getSignatureIndex()
      Return descriptor index into Constant Pool.
      protected void markUtf8Refs​(ConstantPool pool)
      Check for Utf8 references to constant pool and mark them.
      protected void setNameIndex​(int index)
      Set the name index.
      protected void setSignatureIndex​(int index)
      Set the descriptor index.
      void write​(java.io.DataOutput dout)
      Export the representation to a DataOutput stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static LocalVariableTypeInfo create​(java.io.DataInput din)
                                            throws java.io.IOException
        Create local variable type info.
        Parameters:
        din - the din
        Returns:
        the local variable type info
        Throws:
        java.io.IOException - the io exception
      • getNameIndex

        protected int getNameIndex()
        Return name index into Constant Pool.
        Returns:
        the name index
      • setNameIndex

        protected void setNameIndex​(int index)
        Set the name index.
        Parameters:
        index - the index
      • getSignatureIndex

        protected int getSignatureIndex()
        Return descriptor index into Constant Pool.
        Returns:
        the signature index
      • setSignatureIndex

        protected void setSignatureIndex​(int index)
        Set the descriptor index.
        Parameters:
        index - the index
      • markUtf8Refs

        protected void markUtf8Refs​(ConstantPool pool)
        Check for Utf8 references to constant pool and mark them.
        Parameters:
        pool - the pool
      • write

        public void write​(java.io.DataOutput dout)
                   throws java.io.IOException
        Export the representation to a DataOutput stream.
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception