CodeQL library for Java/Kotlin
codeql/java-all 0.8.12 (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()