src/share/classes/com/sun/source/tree/TreeVisitor.java

changeset 1521
71f35e4b93a5
parent 1436
f6f1fd261f57
child 1590
011cf7e0a148
equal deleted inserted replaced
1520:5c956be64b9e 1521:71f35e4b93a5
1 /* 1 /*
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
55 * @author Jonathan Gibbons 55 * @author Jonathan Gibbons
56 * 56 *
57 * @since 1.6 57 * @since 1.6
58 */ 58 */
59 public interface TreeVisitor<R,P> { 59 public interface TreeVisitor<R,P> {
60 R visitAnnotatedType(AnnotatedTypeTree node, P p);
60 R visitAnnotation(AnnotationTree node, P p); 61 R visitAnnotation(AnnotationTree node, P p);
61 R visitMethodInvocation(MethodInvocationTree node, P p); 62 R visitMethodInvocation(MethodInvocationTree node, P p);
62 R visitAssert(AssertTree node, P p); 63 R visitAssert(AssertTree node, P p);
63 R visitAssignment(AssignmentTree node, P p); 64 R visitAssignment(AssignmentTree node, P p);
64 R visitCompoundAssignment(CompoundAssignmentTree node, P p); 65 R visitCompoundAssignment(CompoundAssignmentTree node, P p);

mercurial