@Documented @Retention(value=SOURCE) public @interface VisibleForTesting
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.javaModifier and Type | Optional Element and Description |
---|---|
VisibleForTesting.Visibility |
visibility
If no visibility specified, one should assume the element originally intended to be private.
|
public abstract VisibleForTesting.Visibility visibility
VisibleForTesting.Visibility
Intended visibility if the element had not been made public or package-private for testing.Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.