aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-17 19:23:05 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-17 19:23:05 +0200
commit4ab2bb7be0ec2ea3e0c61bd2c0e24bee46ff41a8 (patch)
tree0e269d6850b365b1ca50b3cfba7db56d141a4b6a /contrib
parent024d8ffa9801f463fecadd16f42d51bbed46dea7 (diff)
downloadlombok-4ab2bb7be0ec2ea3e0c61bd2c0e24bee46ff41a8.tar.gz
lombok-4ab2bb7be0ec2ea3e0c61bd2c0e24bee46ff41a8.tar.bz2
lombok-4ab2bb7be0ec2ea3e0c61bd2c0e24bee46ff41a8.zip
Turns out using instanceof checks to figure out if a LocalDeclaration is a method argument or not (by instanceof checking if it's an Argument) is faulty, as e.g. the argument to a catch block is also an Argument object. Rewritten the visitChild method to be based on a switch on the Node's getKind(), just like JavacAST. This even looks nicer.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions