Developer kit for implementing Domain Specific Languages with Xtext. Format, Check, Export and Scope languages of DSL Developer Kit standardize DSL implementations.
Up to now, all AST node getters would be exposed to XPath, as long as the return type was a primitive (boxed or unboxed), String or Enum. That meant that collections, even of these basic types, were not exposed, so for instance accessing Apex's ASTUserClass.getInterfaceNames() to list the interfaces implemented by a class was impossible from XPath, and would require writing a Java rule to check it.
Since this release, PMD will also expose any getter returning a collection of any supported type as a sequence through an XPath attribute. They would require to use apropriate XQuery functions to manipulate the sequence. So for instance, to detect any given ASTUserClass in Apex that implements Queueable, it is now possible to write:
Up to now, all AST node getters would be exposed to XPath, as long as the return type was a primitive (boxed or unboxed), String or Enum. That meant that collections, even of these basic types, were not exposed, so for instance accessing Apex's ASTUserClass.getInterfaceNames() to list the interfaces implemented by a class was impossible from XPath, and would require writing a Java rule to check it.
Since this release, PMD will also expose any getter returning a collection of any supported type as a sequence through an XPath attribute. They would require to use apropriate XQuery functions to manipulate the sequence. So for instance, to detect any given ASTUserClass in Apex that implements Queueable, it is now possible to write:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps
pmd.version
from 7.1.0 to 7.2.0. Updatesnet.sourceforge.pmd:pmd-core
from 7.1.0 to 7.2.0Release notes
Sourced from net.sourceforge.pmd:pmd-core's releases.
... (truncated)
Commits
38bc997
[release] prepare release pmd_releases/7.2.027a14cc
Prepare pmd release 7.2.0e27b30e
Bump pmd-designer from 7.2.0-SNAPSHOT to 7.2.0d37769e
Bump builds-tools from 25-SNAPSHOT to 252a0cba7
[java] Improve LocalVariableCouldBeFinal (#5003)8a8402a
[doc] Update release notes (#1619, #3122, #5003)3890b56
[java] Remove FPs in UnnecessaryBoxing (#5019)224f5b8
[doc] Update release notes (#4903, #4924, #5019)910c098
[core] Fix Kotest based tests (#5022)3745193
[test] Add missing junit jupiter engineUpdates
net.sourceforge.pmd:pmd-java
from 7.1.0 to 7.2.0Release notes
Sourced from net.sourceforge.pmd:pmd-java's releases.
... (truncated)
Commits
38bc997
[release] prepare release pmd_releases/7.2.027a14cc
Prepare pmd release 7.2.0e27b30e
Bump pmd-designer from 7.2.0-SNAPSHOT to 7.2.0d37769e
Bump builds-tools from 25-SNAPSHOT to 252a0cba7
[java] Improve LocalVariableCouldBeFinal (#5003)8a8402a
[doc] Update release notes (#1619, #3122, #5003)3890b56
[java] Remove FPs in UnnecessaryBoxing (#5019)224f5b8
[doc] Update release notes (#4903, #4924, #5019)910c098
[core] Fix Kotest based tests (#5022)3745193
[test] Add missing junit jupiter engineDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show