All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.report.rules.pmd.DefaultPackage.html Maven / Gradle / Ivy



DefaultPackage


DefaultPackage

Use explicit scoping instead of the default package private level.

This rule is defined by the following XPath expression:

//ClassOrInterfaceDeclaration[@Interface='false']
/ClassOrInterfaceBody
/ClassOrInterfaceBodyDeclaration
[
FieldDeclaration[@PackagePrivate='true']
or MethodDeclaration[@PackagePrivate='true']
]
                




© 2015 - 2025 Weber Informatics LLC | Privacy Policy