langtools/src/share/classes/com/sun/source/tree/TreeVisitor.java
changeset 8031 d5fe2c1cecfc
parent 7681 1f0819a3341f
child 9300 c2de4dd9853b
equal deleted inserted replaced
7848:884a6d60b235 8031:d5fe2c1cecfc
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2011, 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 //308    R visitAnnotatedType(AnnotatedTypeTree node, P p);
       
    61     R visitAnnotation(AnnotationTree node, P p);
    60     R visitAnnotation(AnnotationTree node, P p);
    62     R visitMethodInvocation(MethodInvocationTree node, P p);
    61     R visitMethodInvocation(MethodInvocationTree node, P p);
    63     R visitAssert(AssertTree node, P p);
    62     R visitAssert(AssertTree node, P p);
    64     R visitAssignment(AssignmentTree node, P p);
    63     R visitAssignment(AssignmentTree node, P p);
    65     R visitCompoundAssignment(CompoundAssignmentTree node, P p);
    64     R visitCompoundAssignment(CompoundAssignmentTree node, P p);