Back to Error Prone

NonRuntimeAnnotation

docs/bugpattern/NonRuntimeAnnotation.md

2.49.0127 B
Original Source

Calling getAnnotation on an annotation that does not have its Retention set to RetentionPolicy.RUNTIME will always return null.