Class AnnotationElementValue

    • Constructor Detail

      • AnnotationElementValue

        public AnnotationElementValue​(int type,
                                      AnnotationEntry annotationEntry,
                                      ConstantPool cpool)
        Constructs an AnnotationElementValue.
        Parameters:
        type - The type.
        annotationEntry - The annotation entry.
        cpool - The constant pool.
    • Method Detail

      • dump

        public void dump​(java.io.DataOutputStream dos)
                  throws java.io.IOException
        Description copied from class: ElementValue
        Dumps this element value to a DataOutputStream.
        Specified by:
        dump in class ElementValue
        Parameters:
        dos - The output stream.
        Throws:
        java.io.IOException - Thrown if an I/O error occurs.
      • stringifyValue

        public java.lang.String stringifyValue()
        Description copied from class: ElementValue
        Returns a string representation of the element value.
        Specified by:
        stringifyValue in class ElementValue
        Returns:
        A string representation of the element value.
      • toString

        public java.lang.String toString()
        Description copied from class: ElementValue
        Returns a string representation of the element value.
        Overrides:
        toString in class ElementValue
        Returns:
        A string representation of the element value.