インタフェースRecordComponentInfo
- すべてのスーパー・インタフェース:
AttributedElement,ClassFileElement
public sealed interface RecordComponentInfo extends AttributedElement
RecordAttributeの単一のレコード・コンポーネントをモデル化します。
SignatureAttribute、RuntimeVisibleAnnotationsAttribute、RuntimeInvisibleAnnotationsAttribute、RuntimeVisibleTypeAnnotationsAttributeおよびRuntimeInvisibleTypeAnnotationsAttributeは、レコード・コンポーネントに存在する可能性のある唯一の事前定義済属性です。
- Java Virtual Machine仕様を参照してください:
-
4.7.30
Record属性 - 導入されたバージョン:
- 24
- 関連項目:
-
メソッドのサマリー
修飾子と型メソッド説明このコンポーネントのフィールド記述子文字列を返します。default ClassDescこのコンポーネントのシンボリック・フィールド記述子を返します。name()このコンポーネントの名前を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。static RecordComponentInfoレコード・コンポーネントの説明を返します。インタフェースjava.lang.classfile.AttributedElementで宣言されたメソッド
attributes, findAttribute, findAttributes
-
メソッドの詳細
-
name
-
descriptor
-
descriptorSymbol
-
of
static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, List<Attribute<?>> attributes) レコード・コンポーネントの説明を返します。- パラメータ:
name- コンポーネントの名前descriptor- コンポーネント・フィールド記述子文字列attributes- コンポーネント属性- 戻り値:
- レコード・コンポーネントの説明
-
of
static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, Attribute<?>... attributes) レコード・コンポーネントの説明を返します。- パラメータ:
name- コンポーネントの名前descriptor- コンポーネント・フィールド記述子文字列attributes- コンポーネント属性- 戻り値:
- レコード・コンポーネントの説明
-
of
static RecordComponentInfo of(String name, ClassDesc descriptor, List<Attribute<?>> attributes) レコード・コンポーネントの説明を返します。- パラメータ:
name- コンポーネントの名前descriptor- コンポーネント・シンボリック・フィールド記述子attributes- コンポーネント属性- 戻り値:
- レコード・コンポーネントの説明
-
of
static RecordComponentInfo of(String name, ClassDesc descriptor, Attribute<?>... attributes) レコード・コンポーネントの説明を返します。- パラメータ:
name- コンポーネントの名前descriptor- コンポーネント・シンボリック・フィールド記述子attributes- コンポーネント属性- 戻り値:
- レコード・コンポーネントの説明
-