@GuardedBy로 선언되는 필드 액세스를 보고합니다.
예:
@GuardedBy("this")
void x() {
notify();
}
void y() {
x(); // unguarded method call
}
지원되는 @GuardedBy 어노테이션:
net.jcip.annotations.GuardedByjavax.annotation.concurrent.GuardedByorg.apache.http.annotation.GuardedBycom.android.annotations.concurrency.GuardedByandroidx.annotation.GuardedBycom.google.errorprone.annotations.concurrent.GuardedBy