
resources.report.rules.pmd.AbstractNaming.html Maven / Gradle / Ivy
AbstractNaming
AbstractNaming
Abstract classes should be named 'AbstractXXX'.
This rule is defined by the following XPath expression:
//ClassOrInterfaceDeclaration
[@Abstract='true' and @Interface='false']
[not (starts-with(@Image,'Abstract'))]
Example:
public abstract class Foo { // should be AbstractFoo
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy