列挙型クラスjava.lang.classfile.TypeAnnotation.TypePathComponent.Kindの
使用
-
java.lang.classfilePREVIEWでのTypeAnnotation.TypePathComponent.KindPREVIEWの使用
修飾子と型メソッド説明TypeAnnotation.TypePathComponent.typePathKind()JVMS表4.7.20.2-Aのタイプ・パスのタイプ・アイテム。指定された名前を持つこのクラスのenum定数を返します。TypeAnnotation.TypePathComponent.Kind.values()この列挙クラスの定数を含む配列を宣言されている順序で 返します。修飾子と型メソッド説明TypeAnnotation.TypePathComponent.of(TypeAnnotation.TypePathComponent.KindPREVIEW typePathKind, int typeArgumentIndex) 注釈のタイプ・パス・コンポーネントを返します。