Class AnnotatedMethodVisibilityModifierCheck

All Implemented Interfaces:
Configurable, Contextualizable

Checks that elements annotated with specified annotations have only allowed visibility modifiers.

This check enforces consistency between annotation presence and declared visibility. If a configured annotation is found on a target element, its visibility modifier must match one of the allowed values.

Since:
13.4.0