Class Attributes


  • public class Attributes
    extends java.lang.Object
    • Constructor Detail

      • Attributes

        Attributes​(@Nonnull
                   java.io.DataInputStream input,
                   @Nonnull
                   ConstantPool constantPool)
            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • readAttributs

        private Attributes.AttributeInfo[] readAttributs​(@Nonnull
                                                         java.io.DataInputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getSourceFile

        public java.lang.String getSourceFile()
                                       throws java.io.IOException
        Get value of SourceFile if available.
        Returns:
        the source file name or null.
        Throws:
        java.io.IOException - if an I/O error occurs.