A non-override, non-overrideable method that never accesses
or implicitly) is already a static method in spirit. By adding
Of course, if the method develops a need to access instance state in the future,
just remove the
static keyword at that time. If any calls had accrued in
static contexts, you’ll have to revisit them, but that should be no worse than
if those callers were unable to use the method in the first place.
Suppress false positives by adding an
@SuppressWarnings("MethodCanBeStatic") annotation to the enclosing element.