Merge "Use class retention for VisibleForTesting annotations"
am: 5724841581
Change-Id: Iaa9262ad627b49d58b46760d7aecd3a985c3a79a
This commit is contained in:
@@ -27,7 +27,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* visibility should have been if it had not been made public or package-private for testing.
|
||||
* The default is to consider the element private.
|
||||
*/
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface VisibleForTesting {
|
||||
/**
|
||||
* Intended visibility if the element had not been made public or package-private for
|
||||
|
||||
Reference in New Issue
Block a user