Class ExceptionsAttribute


  • public class ExceptionsAttribute
    extends Attribute
    Exceptions class file attribute
    • Field Detail

      • attributeName

        private static CPUTF8 attributeName
      • exceptionIndexes

        private transient int[] exceptionIndexes
      • exceptions

        private final CPClass[] exceptions
    • Constructor Detail

      • ExceptionsAttribute

        public ExceptionsAttribute​(CPClass[] exceptions)
    • Method Detail

      • hashCode

        private static int hashCode​(java.lang.Object[] array)
      • setAttributeName

        public static void setAttributeName​(CPUTF8 cpUTF8Value)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Attribute
      • resolve

        protected void resolve​(ClassConstantPool pool)
        Description copied from class: ClassFileEntry
        Allows the constant pool entries to resolve their nested entries.
        Overrides:
        resolve in class Attribute
        Parameters:
        pool - TODO
      • writeBody

        protected void writeBody​(java.io.DataOutputStream dos)
                          throws java.io.IOException
        Specified by:
        writeBody in class Attribute
        Throws:
        java.io.IOException