Introduce a ModifierList node, that ranges
over the modifiers of a declaration (including
annotations).
This is a combination of a few old commits:
Figure out modifiers
Fix tests
Remove AccessTypeNode
Document
Remove specific methods
Fix symboltable test
Fix tests
Rename to JModifier
Fix copypaste default/abstract
Improve doc
Test anon classes
Remove useless impl
Static modifier should not be present on toplevel classes
Simplify impl
Add visibility enum
Port some tests
Fix test ranges
Fix modifier ordering
Cleanup
Fix unnecessary modifier rule
Rename to use plural
Improve visibility doc
Simplify some things
Checkstyle
Remove some usages of typekind
Fix missing import
Remove irrelevant method
REmove some duplication
Replace AccessNode with ModifierOwner
Rename to AccessNode to reduce diff
Remove changes to rules
Add convenience methods
Make VariableDeclaratorId a ModifierOwner
Fix variable name decl
Make enum constant an implicit AccessNode
Fix compil
Checkstyle
Cleanup
Deprecate TypeKind
Cleanup
Remove TypeKind
Revert "Remove TypeKind"
This reverts commit 222c169c3401a01507726f339ae9f9b2b20dc69a.
Fix doc
Fix UnnecessaryModifierRule
Use special node instead of ModifierSet
Remove useless tests
Fix tests WIP
Work should be resumed when #2211 is merged into java-grammar
Fix some tests
Doc
* Make Java nodes text-available
* Introduce shared JavaccToken in pmd-core
* Use factory to produce char streams
Tests are still on java-grammar,
since they use the DSL & newer
AST structure.
This is to prepare for other changes
that concern all javacc languages and
should not be done on java-grammar
* Remove `Dimensionable`, remove its methods from the former implementations (except from ASTArrayDimsAndInits, which is itself deprecated)
* The varargs ellipsis is now represented as an ArrayTypeDim.
* This affects FormalParameter and LambdaParameter
Closes#997. All forms of type annotations are now supported.