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

Member predicate RetentionAnnotation::getRetentionPolicyExpression

Gets the retention policy expression within this annotation.

For example, the field access RetentionPolicy.RUNTIME is the retention policy expression in @Retention(RetentionPolicy.RUNTIME).

Expr getRetentionPolicyExpression()