Class LocalVariableInfo


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LocalVariableInfo create​(java.io.DataInput din)
      Create local variable info.
      protected int getDescriptorIndex()
      Return descriptor index into Constant Pool.
      protected int getNameIndex()
      Return name index into Constant Pool.
      protected void markUtf8Refs​(ConstantPool pool)
      Check for Utf8 references to constant pool and mark them.
      protected void setDescriptorIndex​(int index)
      Set the descriptor index.
      protected void setNameIndex​(int index)
      Set the name 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 LocalVariableInfo create​(java.io.DataInput din)
                                        throws java.io.IOException
        Create local variable info.
        Parameters:
        din - the din
        Returns:
        the local variable 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
      • getDescriptorIndex

        protected int getDescriptorIndex()
        Return descriptor index into Constant Pool.
        Returns:
        the descriptor index
      • setDescriptorIndex

        protected void setDescriptorIndex​(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