JavaScript is disabled on your browser.
Skip navigation links
Overview
Module
Package
Class
Use
Tree
Deprecated
Index
Help
Java SE 9 & JDK 9
Prev
Next
Frames
No Frames
All Classes
SEARCH:
JavaScript is disabled on your browser.
Uses of Class
java.lang.annotation.RetentionPolicy
Packages that use
RetentionPolicy
Package
Description
java.lang.annotation
Provides library support for the Java programming language annotation facility.
Uses of
RetentionPolicy
in
java.lang.annotation
Methods in
java.lang.annotation
that return
RetentionPolicy
Modifier and Type
Method
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.