@SuppressWarning annotation, or// noinspection line comment, or/** noinspection */ JavaDoc commentExample:
public class C {
// symbol is already private,
// but annotation is still around
@SuppressWarnings({"WeakerAccess"})
private boolean CONST = true;
void f() {
CONST = false;
}
}