モジュール java.base

クラスCustomAttribute<T extends CustomAttributePREVIEW<T>>

java.lang.Object
java.lang.classfile.CustomAttribute<T>
型パラメータ:
T - カスタム属性タイプ
すべての実装されたインタフェース:
AttributePREVIEW<T>, ClassElementPREVIEW, ClassFileElementPREVIEW, CodeElementPREVIEW, FieldElementPREVIEW, MethodElementPREVIEW, WritableElementPREVIEW<T>

public abstract non-sealed class CustomAttribute<T extends CustomAttributePREVIEW<T>> extends Object implements AttributePREVIEW<T>, CodeElementPREVIEW, ClassElementPREVIEW, MethodElementPREVIEW, FieldElementPREVIEW
CustomAttributeは、JavaプラットフォームのプレビューAPIです。
プレビュー機能が有効な場合のみ、プログラムでCustomAttributeを使用できます。
プレビュー機能は、今後のリリースで削除するか、Javaプラットフォームの永続機能にアップグレードすることができます。
クラス・ファイルの非標準属性をモデル化します。 クライアントは、このクラスを拡張して非標準属性に実装クラスを提供し、クラス・ファイル形式とCustomAttributePREVIEW表現を仲介するAttributeMapperPREVIEWを提供する必要があります。
導入されたバージョン:
22