src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor9.java
changeset 55382 30b1b7b4dd86
parent 53023 6879069d9d94
equal deleted inserted replaced
55381:7c9151c7dc40 55382:30b1b7b4dd86
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2019, 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 /**
    33 /**
    34  * A visitor of program elements based on their {@linkplain
    34  * A visitor of program elements based on their {@linkplain
    35  * ElementKind kind} with default behavior appropriate for source
    35  * ElementKind kind} with default behavior appropriate for source
    36  * versions {@link SourceVersion#RELEASE_9 RELEASE_9} through {@link
    36  * versions {@link SourceVersion#RELEASE_9 RELEASE_9} through {@link
    37  * SourceVersion#RELEASE_13 RELEASE_13}.
    37  * SourceVersion#RELEASE_14 RELEASE_14}.
    38  *
    38  *
    39  * For {@linkplain
    39  * For {@linkplain
    40  * Element elements} <code><i>Xyz</i></code> that may have more than one
    40  * Element elements} <code><i>Xyz</i></code> that may have more than one
    41  * kind, the <code>visit<i>Xyz</i></code> methods in this class delegate
    41  * kind, the <code>visit<i>Xyz</i></code> methods in this class delegate
    42  * to the <code>visit<i>Xyz</i>As<i>Kind</i></code> method corresponding to the
    42  * to the <code>visit<i>Xyz</i>As<i>Kind</i></code> method corresponding to the
    78  * @see ElementKindVisitor7
    78  * @see ElementKindVisitor7
    79  * @see ElementKindVisitor8
    79  * @see ElementKindVisitor8
    80  * @since 9
    80  * @since 9
    81  * @spec JPMS
    81  * @spec JPMS
    82  */
    82  */
    83 @SupportedSourceVersion(RELEASE_13)
    83 @SupportedSourceVersion(RELEASE_14)
    84 public class ElementKindVisitor9<R, P> extends ElementKindVisitor8<R, P> {
    84 public class ElementKindVisitor9<R, P> extends ElementKindVisitor8<R, P> {
    85     /**
    85     /**
    86      * Constructor for concrete subclasses; uses {@code null} for the
    86      * Constructor for concrete subclasses; uses {@code null} for the
    87      * default value.
    87      * default value.
    88      */
    88      */