Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
29-July-2018 - 6.6.0
The PMD team is pleased to announce PMD 6.6.0.
This is a minor release.
Table Of Contents
- New and noteworthy
- Fixed Issues
- API Changes
- External Contributions
New and noteworthy
Java 11 Support
PMD is now able to parse the local-variable declaration syntax
var xxx, that has been
extended for lambda parameters with Java 11 via
JEP 323: Local-Variable Syntax for Lambda Parameters.
The new Java rule
java-codestyle) detects local variable names that don't comply to a given convention. It defaults to standard
Java convention of using camelCase, but can be configured. Special cases can be configured for final variables
and caught exceptions' names.
The new Java rule
java-codestyle) detects formal parameter names that don't comply to a given convention. It defaults to
standard Java convention of using camelCase, but can be configured. Special cases can be configured for final
parameters and lambda parameters (considering whether they are explicitly typed or not).
- The Java rules
AccessorMethodGeneration(both in category
java-bestpractices) have been modified to be only valid up until Java 10. Java 11 adds support for
JEP 181: Nest-Based Access Control which avoids the generation of
accessor classes / methods altogether.
- #1215: [doc] TOC links don't work?
- #1233: [ui] XPath autocomplete arrows on first and last items
net.sourceforge.pmd.lang.ast.AbstractNodeno longer search for
exact type matches, but will match subclasses, too. That means, it's now possible to look for abstract node
types such as
AbstractJavaTypeNodeand not only for it's concrete subtypes.