prepare Java AST