
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