Class RuntimeVisibleAnnotations

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Node

    public class RuntimeVisibleAnnotations
    extends Annotations
    represents an annotation that is represented in the class file and is provided to the JVM.
    Since:
    5.3
    Version:
    $Id: RuntimeVisibleAnnotations
    Author:
    D. Brosius
    See Also:
    Serialized Form
    • Constructor Detail

      • RuntimeVisibleAnnotations

        public RuntimeVisibleAnnotations​(int name_index,
                                         int length,
                                         java.io.DataInputStream file,
                                         ConstantPool constant_pool)
                                  throws java.io.IOException
        Parameters:
        name_index - Index pointing to the name Code
        length - Content length in bytes
        file - Input stream
        constant_pool - Array of constants
        Throws:
        java.io.IOException
    • Method Detail

      • dump

        public final void dump​(java.io.DataOutputStream dos)
                        throws java.io.IOException
        Description copied from class: Attribute
        Dump attribute to file stream in binary format.
        Overrides:
        dump in class Attribute
        Parameters:
        dos - Output file stream
        Throws:
        java.io.IOException