CodeQL library for Java
codeql/java-all 0.3.3 (changelog, source)
Search

Member predicate RetentionAnnotation::getRetentionPolicy

Gets the name of the retention policy of this annotation.

For example, RUNTIME is the name of the retention policy in @Retention(RetentionPolicy.RUNTIME).

string getRetentionPolicy()