Merge "Use class retention for VisibleForTesting annotations"
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