src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor9.java
changeset 47868 5cc5b8270cad
parent 47216 71c04702a3d5
child 48227 584a3ba42176
equal deleted inserted replaced
47867:2053c5489a9e 47868:5cc5b8270cad
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2017, 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
    92     protected SimpleElementVisitor9(R defaultValue){
    92     protected SimpleElementVisitor9(R defaultValue){
    93         super(defaultValue);
    93         super(defaultValue);
    94     }
    94     }
    95 
    95 
    96     /**
    96     /**
    97      * Visits a {@code ModuleElement} by calling {@code
    97      * {@inheritDoc}
       
    98      *
       
    99      * @implSpec Visits a {@code ModuleElement} by calling {@code
    98      * defaultAction}.
   100      * defaultAction}.
    99      *
   101      *
   100      * @param e the element to visit
   102      * @param e the element to visit
   101      * @param p a visitor-specified parameter
   103      * @param p a visitor-specified parameter
   102      * @return  the result of {@code defaultAction}
   104      * @return  {@inheritDoc}
   103      */
   105      */
   104     @Override
   106     @Override
   105     public R visitModule(ModuleElement e, P p) {
   107     public R visitModule(ModuleElement e, P p) {
   106         return defaultAction(e, p);
   108         return defaultAction(e, p);
   107     }
   109     }