forked from phoedos/pmd
3191ef360d
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