Annotation Type VisibleForTesting
@Documented
@Retention(CLASS)
@Target({TYPE,FIELD,METHOD,CONSTRUCTOR})
public @interface VisibleForTesting
Indicates that the visibility of a program element (such as a field, method, or class) is
intentionally wider than necessary for testing purposes. This annotation serves as documentation
for developers and tooling, clarifying that the element is not intended for production use but
must be visible for test code.