public final class NoPublicFieldsExceptStaticFinalRule
extends Object
implements Rule
This rule ensures that no fields declared with public visibility unless they
are static and final It is best to non-POJO classes (Interfaces, Enums,
...etc.) to hold those instead of mixing responsibilities.