pmd / pmd

An extensible multilanguage static code analyzer.

Home Page:https://pmd.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[java] Add an attribute @PackageQualifier to ASTClassType

koalalam opened this issue · comments

Is your feature request related to a problem? Please describe.

XPath rule to perform prefix-match against full qualfified class is no longer supported in PMD v7 / XPath 3.1 as reported in #4946

Describe the solution you'd like
Add an attribute @PackageQualifier to ASTClassType per mentioned by @oowekyala

For example: starts-with(@PackageQualifier, 'org.apache.commons.collections.')

Hello @oowekyala , any chance this enhancemend could be included in the next release?