Simplify top-level class expression
Co-authored-by: Clément Fournier <clement.fournier@tu-dresden.de>
This commit is contained in:
Juan Martín Sotuyo Dodero
committed by
GitHub
parent
057e02f279
commit
2b35ef2985
@ -2351,7 +2351,7 @@ See the property `annotations`.
|
||||
<property name="xpath">
|
||||
<value>
|
||||
<![CDATA[
|
||||
let $topLevelClass := //ClassOrInterfaceDeclaration[@Nested= false() and @Local= false()] return
|
||||
let $topLevelClass := /*/ClassOrInterfaceDeclaration return
|
||||
let $isLombokUtility := exists($topLevelClass[pmd-java:hasAnnotation('lombok.experimental.UtilityClass')]) return
|
||||
$topLevelClass[
|
||||
(: non-instantiable :)
|
||||
|
Reference in New Issue
Block a user