クラスjava.lang.annotation.RetentionPolicy
の使用
-
RetentionPolicyを使用しているパッケージ パッケージ 説明 java.lang.annotation Javaプログラミング言語の注釈機能のライブラリ・サポートを提供します。 -
-
java.lang.annotationでのRetentionPolicyの使用
RetentionPolicyを返すjava.lang.annotation内のメソッド 修飾子と型 メソッド 説明 static RetentionPolicy
RetentionPolicy. valueOf(String name)
指定された名前を持つ、この型の列挙型定数を返します。static RetentionPolicy[]
RetentionPolicy. values()
この列挙型の定数を含む配列を、宣言されている順序で返します。
-