Module java.base
Package java.lang.classfile

# Interface AnnotationValue

≠
public abstract sealed interface AnnotationValue
permits java.lang.classfile.AnnotationValue.OfAnnotation, java.lang.classfile.AnnotationValue.OfArray, java.lang.classfile.AnnotationValue.OfClass, java.lang.classfile.AnnotationValue.OfConstant, java.lang.classfile.AnnotationValue.OfEnum

## Nested Types

- ≠ OfAnnotation
- ≠ OfArray
- ≠ OfBoolean
- ≠ OfByte
- ≠ OfChar
- ≠ OfClass
- = OfConstant
- ≠ OfDouble
- ≠ OfEnum
- ≠ OfFloat
- ≠ OfInt
- ≠ OfLong
- ≠ OfShort
- ≠ OfString

## Fields

- =
  public static final int TAG_ANNOTATION = 64
- =
  public static final int TAG_ARRAY = 91
- =
  public static final int TAG_BOOLEAN = 90
- =
  public static final int TAG_BYTE = 66
- =
  public static final int TAG_CHAR = 67
- =
  public static final int TAG_CLASS = 99
- =
  public static final int TAG_DOUBLE = 68
- =
  public static final int TAG_ENUM = 101
- =
  public static final int TAG_FLOAT = 70
- =
  public static final int TAG_INT = 73
- =
  public static final int TAG_LONG = 74
- =
  public static final int TAG_SHORT = 83
- =
  public static final int TAG_STRING = 115

## Methods

- =
  public static java.lang.classfile.AnnotationValue of(java.lang.Object arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfAnnotation ofAnnotation(java.lang.classfile.Annotation arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfArray ofArray(java.lang.classfile.AnnotationValue[] arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfArray ofArray(java.util.List<java.lang.classfile.AnnotationValue> arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfBoolean ofBoolean(boolean arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfBoolean ofBoolean(java.lang.classfile.constantpool.IntegerEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfByte ofByte(byte arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfByte ofByte(java.lang.classfile.constantpool.IntegerEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfChar ofChar(char arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfChar ofChar(java.lang.classfile.constantpool.IntegerEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfClass ofClass(java.lang.classfile.constantpool.Utf8Entry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfClass ofClass(java.lang.constant.ClassDesc arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfDouble ofDouble(double arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfDouble ofDouble(java.lang.classfile.constantpool.DoubleEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfEnum ofEnum(java.lang.classfile.constantpool.Utf8Entry arg0, java.lang.classfile.constantpool.Utf8Entry arg1)
- =
  public static java.lang.classfile.AnnotationValue.OfEnum ofEnum(java.lang.constant.ClassDesc arg0, java.lang.String arg1)
- =
  public static java.lang.classfile.AnnotationValue.OfFloat ofFloat(float arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfFloat ofFloat(java.lang.classfile.constantpool.FloatEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfInt ofInt(int arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfInt ofInt(java.lang.classfile.constantpool.IntegerEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfLong ofLong(long arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfLong ofLong(java.lang.classfile.constantpool.LongEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfShort ofShort(short arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfShort ofShort(java.lang.classfile.constantpool.IntegerEntry arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfString ofString(java.lang.String arg0)
- =
  public static java.lang.classfile.AnnotationValue.OfString ofString(java.lang.classfile.constantpool.Utf8Entry arg0)
- =
  public abstract int tag()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
AnnotationValue.OfAnnotation |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfArray |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfBoolean |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfByte |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfChar |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfClass |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfDouble |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfEnum |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfFloat |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfInt |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfLong |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfShort |  |  |  |  |  |  | 1 |  | 1 | 2
AnnotationValue.OfString |  |  |  |  |  |  | 1 |  | 1 | 2
Total |  |  |  |  |  |  | 13 |  | 13 | 26