[java] Improve module grammar#3890
Merged
Merged
Conversation
Type names in "provides" directives are disambiguated like any other type name. ASTName is made redundant and removed for good.
Generated by 🚫 Danger |
adangel
reviewed
Apr 12, 2022
adangel
left a comment
Member
There was a problem hiding this comment.
Thanks for updating this!
I've added a new section in https://github.com/pmd/pmd/wiki/Java_clean_changes#module-declarations - updated already with ModuleUsesDirective using a ClassOrInterfaceType as child node instead of package name.
Member
|
The regression tester is also not running properly: seems like this is the same for the other PRs against pmd/7.0.x. I guess, we need to call it differently and use the autogenerated ruleset from the first run (when we compared against pmd7) because we don't have master checkout out (only pmd/7.0.x + PR). |
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
Member
Author
|
Thanks for updating the wiki and spotting that mistake about the uses directive! |
adangel
approved these changes
Apr 22, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I believe this is the last grammar change needed for PMD 7. We can proceed with cleaning up the AST as in #3831
Describe the PR
Related issues
Ready?
./mvnw clean verifypasses (checked automatically by github actions)