src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor9.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2018, 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 |
29 import javax.lang.model.SourceVersion; |
29 import javax.lang.model.SourceVersion; |
30 import static javax.lang.model.SourceVersion.*; |
30 import static javax.lang.model.SourceVersion.*; |
31 |
31 |
32 /** |
32 /** |
33 * A simple visitor for annotation values with default behavior |
33 * A simple visitor for annotation values with default behavior |
34 * appropriate for the {@link SourceVersion#RELEASE_9 RELEASE_9} |
34 * appropriate for source versions {@link SourceVersion#RELEASE_9 |
35 * and {@link SourceVersion#RELEASE_10 RELEASE_10} source versions. |
35 * RELEASE_9} through {@link SourceVersion#RELEASE_11 RELEASE_11}. |
|
36 * |
36 * Visit methods call {@link #defaultAction |
37 * Visit methods call {@link #defaultAction |
37 * defaultAction} passing their arguments to {@code defaultAction}'s |
38 * defaultAction} passing their arguments to {@code defaultAction}'s |
38 * corresponding parameters. |
39 * corresponding parameters. |
39 * |
40 * |
40 * <p> Methods in this class may be overridden subject to their |
41 * <p> Methods in this class may be overridden subject to their |
65 * @see SimpleAnnotationValueVisitor6 |
66 * @see SimpleAnnotationValueVisitor6 |
66 * @see SimpleAnnotationValueVisitor7 |
67 * @see SimpleAnnotationValueVisitor7 |
67 * @see SimpleAnnotationValueVisitor8 |
68 * @see SimpleAnnotationValueVisitor8 |
68 * @since 9 |
69 * @since 9 |
69 */ |
70 */ |
70 @SupportedSourceVersion(RELEASE_10) |
71 @SupportedSourceVersion(RELEASE_11) |
71 public class SimpleAnnotationValueVisitor9<R, P> extends SimpleAnnotationValueVisitor8<R, P> { |
72 public class SimpleAnnotationValueVisitor9<R, P> extends SimpleAnnotationValueVisitor8<R, P> { |
72 /** |
73 /** |
73 * Constructor for concrete subclasses; uses {@code null} for the |
74 * Constructor for concrete subclasses; uses {@code null} for the |
74 * default value. |
75 * default value. |
75 */ |
76 */ |