Package | Description |
---|---|
java.lang.annotation |
Modifier and Type | Method and Description |
---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetentionPolicy[] |
RetentionPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|