< prev index next >
src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java
Print this page
*** 114,124 ****
* {@code new UnknownElementException(e, p)}.
* This behavior is not required of a subclass.
*
* @param e {@inheritDoc}
* @param p {@inheritDoc}
! * @return a visitor-specified result
* @throws UnknownElementException
* a visitor implementation may optionally throw this exception
*/
@Override
public R visitUnknown(Element e, P p) {
--- 114,124 ----
* {@code new UnknownElementException(e, p)}.
* This behavior is not required of a subclass.
*
* @param e {@inheritDoc}
* @param p {@inheritDoc}
! * @return {@inheritDoc}
* @throws UnknownElementException
* a visitor implementation may optionally throw this exception
*/
@Override
public R visitUnknown(Element e, P p) {
*** 131,141 ****
* @implSpec Visits a {@code ModuleElement} by calling {@code
* visitUnknown}.
*
* @param e {@inheritDoc}
* @param p {@inheritDoc}
! * @return the result of {@code visitUnknown}
*
* @since 9
* @spec JPMS
*/
@Override
--- 131,141 ----
* @implSpec Visits a {@code ModuleElement} by calling {@code
* visitUnknown}.
*
* @param e {@inheritDoc}
* @param p {@inheritDoc}
! * @return {@inheritDoc}
*
* @since 9
* @spec JPMS
*/
@Override
< prev index next >