Annotation Interface VisibleForTesting


@Retention(CLASS) @Target({METHOD,CONSTRUCTOR,TYPE,FIELD}) public @interface VisibleForTesting
Indicates that a method, class, or field is more visible than otherwise necessary for the purpose of testing. This is useful for documenting code and communicating that a specific visibility level (e.g., `public` or `protected`) is intentional for testing purposes.