Loading core/java/com/android/internal/annotations/GuardedBy.java +2 −2 Original line number Diff line number Diff line Loading @@ -23,10 +23,10 @@ import java.lang.annotation.Target; /** * Annotation type used to mark a method or field that can only be accessed when * holding the referenced lock. * holding the referenced locks. */ @Target({ ElementType.FIELD, ElementType.METHOD }) @Retention(RetentionPolicy.CLASS) public @interface GuardedBy { String value(); String[] value(); } Loading
core/java/com/android/internal/annotations/GuardedBy.java +2 −2 Original line number Diff line number Diff line Loading @@ -23,10 +23,10 @@ import java.lang.annotation.Target; /** * Annotation type used to mark a method or field that can only be accessed when * holding the referenced lock. * holding the referenced locks. */ @Target({ ElementType.FIELD, ElementType.METHOD }) @Retention(RetentionPolicy.CLASS) public @interface GuardedBy { String value(); String[] value(); }