クラス jdk.jfr.AnnotationElementの
使用
| パッケージ | 説明 |
|---|---|
| jdk.jfr |
このパッケージは、イベントを作成してFlight Recorderを制御するクラスを提供します。
|
-
jdk.jfrでのAnnotationElementの使用
型AnnotationElementの引数を持つ型を返すjdk.jfrのメソッド 修飾子と型 メソッド 説明 List<AnnotationElement>AnnotationElement. getAnnotationElements()このAnnotationElementの注釈要素の不変のリストを返します。List<AnnotationElement>EventType. getAnnotationElements()このイベント・タイプの注釈要素の不変なリストを返します。List<AnnotationElement>SettingDescriptor. getAnnotationElements()この値記述子の注釈要素の不変なリストを返します。List<AnnotationElement>ValueDescriptor. getAnnotationElements()この値記述子の注釈要素の不変なリストを返します。型AnnotationElementの型引数を持つjdk.jfrのメソッド・パラメータ 修飾子と型 メソッド 説明 static EventFactoryEventFactory. create(List<AnnotationElement> annotationElements, List<ValueDescriptor> fields)EventFactoryオブジェクトを作成します。型AnnotationElementの型引数のjdk.jfrのコンストラクタ・パラメータ コンストラクタ 説明 ValueDescriptor(Class<?> type, String name, List<AnnotationElement> annotations)イベント型および注釈を動的に作成する場合に役立つ値記述子を構築します。