- すべてのスーパー・インタフェース:
AnnotationValuePREVIEW
,AnnotationValue.OfConstantPREVIEW
,ClassFileElementPREVIEW
,WritableElementPREVIEW<AnnotationValuePREVIEW>
- 含まれているインタフェース:
AnnotationValuePREVIEW
public static sealed interface AnnotationValue.OfBoolean extends AnnotationValue.OfConstantPREVIEW
OfBoolean
は、JavaプラットフォームのプレビューAPIです。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
constant-valued要素をモデル化する
- 導入されたバージョン:
- 22
-
ネストされたクラスのサマリー
インタフェース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.AnnotationValue.OfConstantPREVIEWで宣言されたメソッド
constant, constantValue
インタフェースjava.lang.classfile.WritableElementPREVIEWで宣言されたメソッド
writeTo
-
メソッドの詳細
-
booleanValue
boolean booleanValue()定数を返します。- 戻り値:
- 定数
-
OfBoolean
を使用できます。