static
. A field
can be static if it is declared final
and initialized with a constant.
Example:
public final String str = "sample";
The inspection does not report final fields that can be implicitly written. Use the "Annotations" button to modify the list of annotations that assume implicit field write.