Package org.apache.jorphan.documentation
Annotation Type VisibleForTesting
Denotes that the class, method or field has its visibility relaxed so
that unit tests can access it.
This means that this API is not-public.
The
visibility
argument can be used to specific what the original
visibility should have been if it had not been made public or package-private for testing.
The default is to consider the element private.
Copy of this class under ASL license:
https://github.com/aosp-mirror/platform_frameworks_base/blob/master/core/java/com/android/internal/annotations/VisibleForTesting.java-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Intended visibility if the element had not been made public or package-private for testing. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionIf no visibility specified, one should assume the element originally intended to be private.
-
Element Details
-
visibility
VisibleForTesting.Visibility visibilityIf no visibility specified, one should assume the element originally intended to be private.- Returns:
VisibleForTesting.Visibility
Intended visibility if the element had not been made public or package-private for testing.
- Default:
- PRIVATE
-