equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2014, 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 |
32 /** |
32 /** |
33 * A simple visitor of program elements with default behavior |
33 * A simple visitor of program elements with default behavior |
34 * appropriate for the {@link SourceVersion#RELEASE_8 RELEASE_8} |
34 * appropriate for the {@link SourceVersion#RELEASE_8 RELEASE_8} |
35 * source version. |
35 * source version. |
36 * |
36 * |
37 * Visit methods corresponding to {@code RELEASE_7} and earlier |
37 * Visit methods corresponding to {@code RELEASE_8} and earlier |
38 * language constructs call {@link #defaultAction defaultAction}, |
38 * language constructs call {@link #defaultAction defaultAction}, |
39 * passing their arguments to {@code defaultAction}'s corresponding |
39 * passing their arguments to {@code defaultAction}'s corresponding |
40 * parameters. |
40 * parameters. |
41 * |
41 * |
42 * <p> Methods in this class may be overridden subject to their |
42 * <p> Methods in this class may be overridden subject to their |
75 * @param <P> the type of the additional parameter to this visitor's methods. Use {@code Void} |
75 * @param <P> the type of the additional parameter to this visitor's methods. Use {@code Void} |
76 * for visitors that do not need an additional parameter. |
76 * for visitors that do not need an additional parameter. |
77 * |
77 * |
78 * @see SimpleElementVisitor6 |
78 * @see SimpleElementVisitor6 |
79 * @see SimpleElementVisitor7 |
79 * @see SimpleElementVisitor7 |
|
80 * @see SimpleElementVisitor9 |
80 * @since 1.8 |
81 * @since 1.8 |
81 */ |
82 */ |
82 @SupportedSourceVersion(RELEASE_8) |
83 @SupportedSourceVersion(RELEASE_8) |
83 public class SimpleElementVisitor8<R, P> extends SimpleElementVisitor7<R, P> { |
84 public class SimpleElementVisitor8<R, P> extends SimpleElementVisitor7<R, P> { |
84 /** |
85 /** |