Merge "Use class retention for VisibleForTesting annotations"

This commit is contained in:
Treehugger Robot
2017-08-07 19:17:33 +00:00
committed by Gerrit Code Review

View File

@@ -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