Remove NBSP
This commit is contained in:
parent
efa875727d
commit
48c2e325dc
@ -2115,12 +2115,12 @@ $topLevelClass[
|
|||||||
not(ClassBody/MethodDeclaration[($isLombokUtility or pmd-java:modifiers() = "static") and @Visibility != "private"]) and
|
not(ClassBody/MethodDeclaration[($isLombokUtility or pmd-java:modifiers() = "static") and @Visibility != "private"]) and
|
||||||
(: … nor fields … :)
|
(: … nor fields … :)
|
||||||
not(ClassBody/FieldDeclaration[($isLombokUtility or pmd-java:modifiers() = "static") and @Visibility != "private"]) and
|
not(ClassBody/FieldDeclaration[($isLombokUtility or pmd-java:modifiers() = "static") and @Visibility != "private"]) and
|
||||||
(: … no nested classes, that are non-private and static … :)
|
(: … no nested classes, that are non-private and static … :)
|
||||||
not(ClassBody/ClassDeclaration
|
not(ClassBody/ClassDeclaration
|
||||||
[pmd-java:modifiers() = "static" and @Visibility != "private"]
|
[pmd-java:modifiers() = "static" and @Visibility != "private"]
|
||||||
(: … with a default or non-private constructor … :)
|
(: … with a default or non-private constructor … :)
|
||||||
[not(ClassBody/ConstructorDeclaration) or ClassBody/ConstructorDeclaration[@Visibility != "private"]]
|
[not(ClassBody/ConstructorDeclaration) or ClassBody/ConstructorDeclaration[@Visibility != "private"]]
|
||||||
(: … and a non-private method returning the outer class type … :)
|
(: … and a non-private method returning the outer class type … :)
|
||||||
[(ClassBody/MethodDeclaration
|
[(ClassBody/MethodDeclaration
|
||||||
[@Visibility != "private"]
|
[@Visibility != "private"]
|
||||||
[descendant::ReturnStatement/*[1][pmd-java:typeIs(ancestor::ClassDeclaration[@Nested = false()]/@BinaryName)]]
|
[descendant::ReturnStatement/*[1][pmd-java:typeIs(ancestor::ClassDeclaration[@Nested = false()]/@BinaryName)]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user