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 |
30 import javax.lang.model.type.IntersectionType; |
30 import javax.lang.model.type.IntersectionType; |
31 import static javax.lang.model.SourceVersion.*; |
31 import static javax.lang.model.SourceVersion.*; |
32 |
32 |
33 /** |
33 /** |
34 * A simple visitor of types with default behavior appropriate for the |
34 * A simple visitor of types with default behavior appropriate for the |
35 * {@link SourceVersion#RELEASE_7 RELEASE_7} source version. |
35 * {@link SourceVersion#RELEASE_8 RELEASE_8} source version. |
36 * |
36 * |
37 * Visit methods corresponding to {@code RELEASE_8} 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. |
76 * methods. Use {@code Void} for visitors that do not need an |
76 * methods. Use {@code Void} for visitors that do not need an |
77 * additional parameter. |
77 * additional parameter. |
78 * |
78 * |
79 * @see SimpleTypeVisitor6 |
79 * @see SimpleTypeVisitor6 |
80 * @see SimpleTypeVisitor7 |
80 * @see SimpleTypeVisitor7 |
|
81 * @see SimpleTypeVisitor9 |
81 * @since 1.8 |
82 * @since 1.8 |
82 */ |
83 */ |
83 @SupportedSourceVersion(RELEASE_8) |
84 @SupportedSourceVersion(RELEASE_8) |
84 public class SimpleTypeVisitor8<R, P> extends SimpleTypeVisitor7<R, P> { |
85 public class SimpleTypeVisitor8<R, P> extends SimpleTypeVisitor7<R, P> { |
85 /** |
86 /** |