Say I have classes marked with @Entity annotation
@Entity
class User {
public String getName(String name) {
return this.name;
}
}
Checkstyle will report that the class is not created for extension and offers labeling of methods with the final (or the whole class). I cannot do this because it is marked as an object that cannot be final.
How do I get Checkstyle to ignore the classes marked with @Entity for this rule?
thank
blank source
share