Lines Matching refs:Tree
27 * @summary AssertionError exception throws in the Compiler Tree API in JDK 7.
58 private static class MyVisitor extends SimpleTreeVisitor<Tree, Void> {
67 public Tree visitCompilationUnit(CompilationUnitTree file, Void v) {
69 for (Tree typeDecl : file.getTypeDecls()) {
76 public Tree visitImport(ImportTree imp, Void v) {
81 public Tree visitMethodInvocation(MethodInvocationTree invoke, Void v) {
87 public Tree visitBlock(BlockTree block, Void v) {
95 public Tree visitClass(ClassTree clazz, Void v) {
96 for (Tree member : clazz.getMembers()) {
103 public Tree visitIdentifier(IdentifierTree ident, Void v) {
109 public Tree visitMethod(MethodTree method, Void v) {
115 public Tree visitMemberSelect(MemberSelectTree select, Void v) {
121 public Tree visitVariable(VariableTree var, Void v) {