RequiredModifiers
This annotation is missing required modifiers as specified by its @RequiredModifiers annotation

Category
Severity
WARNING
Maturity

The problem

This annotation is itself annotated with @RequiredModifiers and can only be used when the specified modifiers are present. You are attempting touse it on an element that is missing one or more required modifiers.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("RequiredModifiers") to the enclosing element.