Package org.openjdk.asmtools.jdis

## Class AnnotationElement.AnnotValue

- java.lang.Object
- - org.openjdk.asmtools.jdis.AnnotationElement.AnnotValue

- Direct Known Subclasses:
    `AnnotationElement.Annot_AnnotValue`, `AnnotationElement.Array_AnnotValue`, `AnnotationElement.CPX_AnnotValue`, `AnnotationElement.CPX2_AnnotValue`
  Enclosing class:
    AnnotationElement

      public static class AnnotationElement.AnnotValue
      extends java.lang.Object

  CPX_AnnotElem base class for an annotation value.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected ClassData` | `cls` |
    `Tables.AnnotElemType` | `tag` | tag the descriptor for the constant

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AnnotValue​(Tables.AnnotElemType tagval, ClassData cls)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `print​(java.io.PrintWriter out, java.lang.String tab)` |
    `java.lang.String` | `stringVal()` |
    `java.lang.String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### tag

          public Tables.AnnotElemType tag

      tag the descriptor for the constant

    - #### cls

          protected ClassData cls

  - ### Constructor Detail

    - #### AnnotValue

          public AnnotValue​(Tables.AnnotElemType tagval,
                            ClassData cls)

  - ### Method Detail

    - #### stringVal

          public java.lang.String stringVal()

    - #### print

          public void print​(java.io.PrintWriter out,
                            java.lang.String tab)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`