langtools/src/jdk.compiler/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2016, 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 |
206 /** |
206 /** |
207 * {@inheritDoc} This implementation calls {@code defaultAction}. |
207 * {@inheritDoc} This implementation calls {@code defaultAction}. |
208 * |
208 * |
209 * @param node {@inheritDoc} |
209 * @param node {@inheritDoc} |
210 * @param p {@inheritDoc} |
210 * @param p {@inheritDoc} |
|
211 * @return the result of {@code defaultAction} |
|
212 */ |
|
213 public R visitHidden(HiddenTree node, P p) { |
|
214 return defaultAction(node, p); |
|
215 } |
|
216 |
|
217 /** |
|
218 * {@inheritDoc} This implementation calls {@code defaultAction}. |
|
219 * |
|
220 * @param node {@inheritDoc} |
|
221 * @param p {@inheritDoc} |
211 * @return the result of {@code defaultAction} |
222 * @return the result of {@code defaultAction} |
212 */ |
223 */ |
213 @Override |
224 @Override |
214 public R visitIdentifier(IdentifierTree node, P p) { |
225 public R visitIdentifier(IdentifierTree node, P p) { |
215 return defaultAction(node, p); |
226 return defaultAction(node, p); |