Fun with Java abstract syntax tree