- すべてのスーパー・インタフェース:
AnnotationValuePREVIEW,ClassFileElementPREVIEW,WritableElementPREVIEW<AnnotationValuePREVIEW>
- 既知のすべてのサブインタフェース:
AnnotationValue.OfBooleanPREVIEW,AnnotationValue.OfBytePREVIEW,AnnotationValue.OfCharacterPREVIEW,AnnotationValue.OfDoublePREVIEW,AnnotationValue.OfFloatPREVIEW,AnnotationValue.OfIntegerPREVIEW,AnnotationValue.OfLongPREVIEW,AnnotationValue.OfShortPREVIEW,AnnotationValue.OfStringPREVIEW
- 含まれているインタフェース:
AnnotationValuePREVIEW
public static sealed interface AnnotationValue.OfConstant extends AnnotationValuePREVIEW permits AnnotationValue.OfStringPREVIEW, AnnotationValue.OfDoublePREVIEW, AnnotationValue.OfFloatPREVIEW, AnnotationValue.OfLongPREVIEW, AnnotationValue.OfIntegerPREVIEW, AnnotationValue.OfShortPREVIEW, AnnotationValue.OfCharacterPREVIEW, AnnotationValue.OfBytePREVIEW, AnnotationValue.OfBooleanPREVIEW (not exhaustive)
OfConstantは、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
constant-valued要素をモデル化する
-
ネストされたクラスのサマリー
インタフェースjava.lang.classfile.AnnotationValuePREVIEWで宣言されたネストされたクラス/インタフェース
AnnotationValue.OfAnnotationPREVIEW, AnnotationValue.OfArrayPREVIEW, AnnotationValue.OfBooleanPREVIEW, AnnotationValue.OfBytePREVIEW, AnnotationValue.OfCharacterPREVIEW, AnnotationValue.OfClassPREVIEW, AnnotationValue.OfConstantPREVIEW, AnnotationValue.OfDoublePREVIEW, AnnotationValue.OfEnumPREVIEW, AnnotationValue.OfFloatPREVIEW, AnnotationValue.OfIntegerPREVIEW, AnnotationValue.OfLongPREVIEW, AnnotationValue.OfShortPREVIEW, AnnotationValue.OfStringPREVIEW -
メソッドのサマリー
インタフェースjava.lang.classfile.AnnotationValuePREVIEWで宣言されたメソッド
tagインタフェースjava.lang.classfile.WritableElementPREVIEWで宣言されたメソッド
writeTo
-
メソッドの詳細
-
constant
-
constantValue
-
OfConstantを使用できます。