Annotation Interface VisibleForTesting


@Retention(SOURCE) @Documented @Target({TYPE,FIELD,METHOD,CONSTRUCTOR}) public @interface VisibleForTesting
A documenting annotation to state that a given element has a less restrictive access modifier (e.g. is not private) only for testing purposes (i.e. it must be accessed by a test class).
Since:
3.2-ALPHA-2
Author:
Fabrizio Giudici
Status: stable API