@Immutable アノテーションが付いたクラスにある 非 final フィールドを報告します。
これは @Immutable アノテーションの契約に違反しています。
例:
import javax.annotation.concurrent.Immutable;
@Immutable
class Foo {
String bar = "foo";
}
サポート対象の @GuardedBy アノテーションは以下の通りです。
net.jcip.annotations.GuardedByjavax.annotation.concurrent.GuardedByorg.apache.http.annotation.GuardedBycom.android.annotations.concurrency.GuardedByandroidx.annotation.GuardedBycom.google.errorprone.annotations.concurrent.GuardedBy