52 * methods. Use {@code Void} for visitors that do not need an |
52 * methods. Use {@code Void} for visitors that do not need an |
53 * additional parameter. |
53 * additional parameter. |
54 * |
54 * |
55 * @since 1.8 |
55 * @since 1.8 |
56 */ |
56 */ |
57 @jdk.Supported |
57 @jdk.Exported |
58 public interface DocTreeVisitor<R,P> { |
58 public interface DocTreeVisitor<R,P> { |
59 R visitAttribute(AttributeTree node, P p); |
59 R visitAttribute(AttributeTree node, P p); |
60 R visitAuthor(AuthorTree node, P p); |
60 R visitAuthor(AuthorTree node, P p); |
61 R visitComment(CommentTree node, P p); |
61 R visitComment(CommentTree node, P p); |
62 R visitDeprecated(DeprecatedTree node, P p); |
62 R visitDeprecated(DeprecatedTree node, P p); |