As per #1046 (comment)
ASTLocalVariableDeclaration.getVariableName()
returns the name of the first variable declarator id, but there may be more in the case of byte var1, var2, var3;
and even the types may be slightly different thanks to arrays (ie: byte var1, var2[], var3[][];
).
The Javadoc for getVariableName
says this, but I fail to find a use-case where only the first one is going to be needed... I think we should deprecate it and simply have ASTLocalVariableDeclaration
implement Iterable<ASTVariableDeclarator>
and we should just use those...
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