The following are breaking API changes, that I'd like to see done sometime
FormalParameter shouldn't be an access nodeFormalParameter currently implements AccessNode, even though this is only because a parameter can be final...
The problem is also real for LocalVariableDeclaration
CatchStatement shouldn't use FormalParameter as a childBecause of that, FormalParameter's grammar implements the multicatch syntax, which doesn't really make sense and makes it difficult to enrich the API of the node in a sensible way.
We should probably follow the JLS more closely for Catch formal parameters.
Resource shouldn't extend FormalParameterIt just doesn't make sense at all. ASTResource inherits isVarargs, isMultiCatch, all methods of AccessNode, etc...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4