src/java.compiler/share/classes/javax/lang/model/util/ElementScanner9.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 /**
    34 /**
    35  * A scanning visitor of program elements with default behavior
    35  * A scanning visitor of program elements with default behavior
    36  * appropriate for source versions {@link SourceVersion#RELEASE_9
    36  * appropriate for source versions {@link SourceVersion#RELEASE_9
    37  * RELEASE_9} through {@link SourceVersion#RELEASE_13 RELEASE_13}.
    37  * RELEASE_9} through {@link SourceVersion#RELEASE_14 RELEASE_14}.
    38  *
    38  *
    39  * The <code>visit<i>Xyz</i></code> methods in this
    39  * The <code>visit<i>Xyz</i></code> methods in this
    40  * class scan their component elements by calling {@code scan} on
    40  * class scan their component elements by calling {@code scan} on
    41  * their {@linkplain Element#getEnclosedElements enclosed elements},
    41  * their {@linkplain Element#getEnclosedElements enclosed elements},
    42  * {@linkplain ExecutableElement#getParameters parameters}, etc., as
    42  * {@linkplain ExecutableElement#getParameters parameters}, etc., as
    90  * @see ElementScanner7
    90  * @see ElementScanner7
    91  * @see ElementScanner8
    91  * @see ElementScanner8
    92  * @since 9
    92  * @since 9
    93  * @spec JPMS
    93  * @spec JPMS
    94  */
    94  */
    95 @SupportedSourceVersion(RELEASE_13)
    95 @SupportedSourceVersion(RELEASE_14)
    96 public class ElementScanner9<R, P> extends ElementScanner8<R, P> {
    96 public class ElementScanner9<R, P> extends ElementScanner8<R, P> {
    97     /**
    97     /**
    98      * Constructor for concrete subclasses; uses {@code null} for the
    98      * Constructor for concrete subclasses; uses {@code null} for the
    99      * default value.
    99      * default value.
   100      */
   100      */