@Retention(value=SOURCE)
public @interface VisibleForTesting
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.
Modifier and Type | Optional Element and Description |
---|---|
VisibleForTesting.Visibility |
visibility
Intended visibility if the element had not been made public or package-private for testing.
|
public abstract VisibleForTesting.Visibility visibility