Class RuntimeInvisibleAnnotations

    • Constructor Detail

      • RuntimeInvisibleAnnotations

        public RuntimeInvisibleAnnotations​(int nameIndex,
                                           int length,
                                           java.io.DataInput input,
                                           ConstantPool constantPool)
                                    throws java.io.IOException
        Constructs a new instance.
        Parameters:
        nameIndex - Index pointing to the name Code
        length - Content length in bytes
        input - Input stream
        constantPool - Array of constants
        Throws:
        java.io.IOException - Thrown when an I/O exception of some sort has occurred.
    • Method Detail

      • copy

        public Attribute copy​(ConstantPool constantPool)
        Creates a deep copy of this attribute.
        Overrides:
        copy in class Annotations
        Parameters:
        constantPool - constant pool to save.
        Returns:
        deep copy of this attribute.
      • dump

        public final void dump​(java.io.DataOutputStream dos)
                        throws java.io.IOException
        Description copied from class: Attribute
        Dumps attribute to file stream in binary format.
        Overrides:
        dump in class Attribute
        Parameters:
        dos - Output file stream
        Throws:
        java.io.IOException - if an I/O error occurs.