@Retention(value=CLASS)
@Target(value={TYPE,CONSTRUCTOR,METHOD,FIELD})
public @interface VisibleForTesting
An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.
Inspired by @VisibleForTesting from Google's Guava library