モジュール java.base

インタフェースAnnotationValue.OfConstant

すべてのスーパー・インタフェース:
AnnotationValuePREVIEW, ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationValuePREVIEW>
既知のすべてのサブインタフェース:
AnnotationValue.OfBooleanPREVIEW, AnnotationValue.OfBytePREVIEW, AnnotationValue.OfCharacterPREVIEW, AnnotationValue.OfDoublePREVIEW, AnnotationValue.OfFloatPREVIEW, AnnotationValue.OfIntegerPREVIEW, AnnotationValue.OfLongPREVIEW, AnnotationValue.OfShortPREVIEW, AnnotationValue.OfStringPREVIEW
含まれているインタフェース:
AnnotationValuePREVIEW

OfConstantは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでOfConstantを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
constant-valued要素をモデル化する
シール済クラス階層グラフ:
OfConstantのシール済クラス階層グラフOfConstantのシール済クラス階層グラフ
導入されたバージョン:
22