インタフェースAnnotationValue.OfClass

すべてのスーパー・インタフェース:
AnnotationValuePREVIEW, ClassFileElementPREVIEW, WritableElementPREVIEW<AnnotationValuePREVIEW>
含まれているインタフェース:
AnnotationValuePREVIEW

public static sealed interface AnnotationValue.OfClass extends AnnotationValuePREVIEW
OfClassは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでOfClassを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
class-valued要素をモデル化します。
導入されたバージョン:
22
  • メソッドの詳細

    • className

      Utf8EntryPREVIEW className()
      クラス名を返します。
      戻り値:
      クラス名
    • classSymbol

      default ClassDesc classSymbol()
      クラス・シンボルを返します。
      戻り値:
      クラス記号