Class InnerClassesInfo


  • public class InnerClassesInfo
    extends java.lang.Object
    Representation of an Inner Classes table entry.
    • Method Detail

      • create

        public static InnerClassesInfo create​(java.io.DataInput din)
                                       throws java.io.IOException
        Create inner classes info.
        Parameters:
        din - the din
        Returns:
        the inner classes info
        Throws:
        java.io.IOException - the io exception
      • getModifiers

        public int getModifiers()
        Get modifiers int.
        Returns:
        the int
      • getInnerClassIndex

        protected int getInnerClassIndex()
        Return the inner class index.
        Returns:
        the inner class index
      • getInnerNameIndex

        protected int getInnerNameIndex()
        Return the name index.
        Returns:
        the inner name index
      • setInnerNameIndex

        protected void setInnerNameIndex​(int index)
        Set the name 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