Package org.apache.hadoop.classification
Annotation Interface VisibleForTesting
@Retention(CLASS)
@Target({TYPE,METHOD,FIELD,CONSTRUCTOR})
@Documented
public @interface VisibleForTesting
Annotates a program element that exists, or is more widely visible than
otherwise necessary, specifically for use in test code.
More precisely test code within the hadoop-* modules.
Moreover, this gives the implicit scope and stability of:
If external modules need to access/override these methods, then they MUST be re-scoped as public/limited private.InterfaceAudience.PrivateInterfaceStability.Unstable