Package org.apache.jorphan.documentation

# Annotation Type VisibleForTesting

@Documented @Retention(SOURCE) public @interface 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

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `VisibleForTesting.Visibility`
  Intended visibility if the element had not been made public or package-private for testing.

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `VisibleForTesting.Visibility`
  `visibility`
  If no visibility specified, one should assume the element originally intended to be private.

- ## Element Details

  - ### visibility

    VisibleForTesting.Visibility visibility
    If 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