blob: 35b78458508632f8c8b629f5d39822e69e1c5ec7 [file] [log] [blame]
import net.jcip.annotations.GuardedBy;
import java.lang.String;
class A {
@GuardedBy("itself")
private String _foo;
public String getFoo() {
synchronized (_foo) {
return _foo;
}
}
public void setFoo(String foo) {
<warning descr="Access to field '_foo' outside of declared guards">_foo</warning> = foo;
}
}