author | jlahoda |
Mon, 01 Apr 2019 14:46:17 +0200 | |
branch | jlahoda-tree-builder |
changeset 57298 | 72d5f7163f12 |
parent 52487 | 5d1d07b72f15 |
permissions | -rw-r--r-- |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
1 |
/* |
46184
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
2 |
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
4 |
* |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. Oracle designates this |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
8 |
* particular file as subject to the "Classpath" exception as provided |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
9 |
* by Oracle in the LICENSE file that accompanied this code. |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
10 |
* |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
15 |
* accompanied this code). |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
16 |
* |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License version |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation, |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
20 |
* |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
22 |
* or visit www.oracle.com if you need additional information or have any |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
23 |
* questions. |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
24 |
*/ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
25 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
26 |
package com.sun.source.util; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
27 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
28 |
import com.sun.source.doctree.*; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
29 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
30 |
/** |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
31 |
* A simple visitor for tree nodes. |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
32 |
* |
25287 | 33 |
* @param <R> the return type of this visitor's methods. Use {@link |
34 |
* Void} for visitors that do not need to return results. |
|
35 |
* @param <P> the type of the additional parameter to this visitor's |
|
36 |
* methods. Use {@code Void} for visitors that do not need an |
|
37 |
* additional parameter. |
|
38 |
* |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
39 |
* @since 1.8 |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
40 |
*/ |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
41 |
public class SimpleDocTreeVisitor<R,P> implements DocTreeVisitor<R, P> { |
25287 | 42 |
/** |
43 |
* The default value, returned by the {@link #defaultAction default action}. |
|
44 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
45 |
protected final R DEFAULT_VALUE; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
46 |
|
25287 | 47 |
/** |
48 |
* Creates a visitor, with a DEFAULT_VALUE of {@code null}. |
|
49 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
50 |
protected SimpleDocTreeVisitor() { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
51 |
DEFAULT_VALUE = null; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
52 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
53 |
|
25287 | 54 |
/** |
55 |
* Creates a visitor, with a specified DEFAULT_VALUE. |
|
56 |
* @param defaultValue the default value to be returned by the default action. |
|
57 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
58 |
protected SimpleDocTreeVisitor(R defaultValue) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
59 |
DEFAULT_VALUE = defaultValue; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
60 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
61 |
|
25287 | 62 |
/** |
63 |
* The default action, used by all visit methods that are not overridden. |
|
64 |
* @param node the node being visited |
|
65 |
* @param p the parameter value passed to the visit method |
|
66 |
* @return the result value to be returned from the visit method |
|
67 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
68 |
protected R defaultAction(DocTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
69 |
return DEFAULT_VALUE; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
70 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
71 |
|
25287 | 72 |
/** |
73 |
* Invokes the appropriate visit method specific to the type of the node. |
|
74 |
* @param node the node on which to dispatch |
|
75 |
* @param p a parameter to be passed to the appropriate visit method |
|
76 |
* @return the value returns from the appropriate visit method |
|
77 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
78 |
public final R visit(DocTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
79 |
return (node == null) ? null : node.accept(this, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
80 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
81 |
|
25287 | 82 |
/** |
83 |
* Invokes the appropriate visit method on each of a sequence of nodes. |
|
84 |
* @param nodes the nodes on which to dispatch |
|
85 |
* @param p a parameter value to be passed to each appropriate visit method |
|
86 |
* @return the value return from the last of the visit methods, or null |
|
87 |
* if none were called. |
|
88 |
*/ |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
89 |
public final R visit(Iterable<? extends DocTree> nodes, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
90 |
R r = null; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
91 |
if (nodes != null) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
92 |
for (DocTree node : nodes) |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
93 |
r = visit(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
94 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
95 |
return r; |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
96 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
97 |
|
25287 | 98 |
/** |
99 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
100 |
* |
|
101 |
* @param node {@inheritDoc} |
|
102 |
* @param p {@inheritDoc} |
|
103 |
* @return the result of {@code defaultAction} |
|
104 |
*/ |
|
105 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
106 |
public R visitAttribute(AttributeTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
107 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
108 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
109 |
|
25287 | 110 |
/** |
111 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
112 |
* |
|
113 |
* @param node {@inheritDoc} |
|
114 |
* @param p {@inheritDoc} |
|
115 |
* @return the result of {@code defaultAction} |
|
116 |
*/ |
|
117 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
118 |
public R visitAuthor(AuthorTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
119 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
120 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
121 |
|
25287 | 122 |
/** |
123 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
124 |
* |
|
125 |
* @param node {@inheritDoc} |
|
126 |
* @param p {@inheritDoc} |
|
127 |
* @return the result of {@code defaultAction} |
|
128 |
*/ |
|
129 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
130 |
public R visitComment(CommentTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
131 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
132 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
133 |
|
25287 | 134 |
/** |
135 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
136 |
* |
|
137 |
* @param node {@inheritDoc} |
|
138 |
* @param p {@inheritDoc} |
|
139 |
* @return the result of {@code defaultAction} |
|
140 |
*/ |
|
141 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
142 |
public R visitDeprecated(DeprecatedTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
143 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
144 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
145 |
|
25287 | 146 |
/** |
147 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
148 |
* |
|
149 |
* @param node {@inheritDoc} |
|
150 |
* @param p {@inheritDoc} |
|
151 |
* @return the result of {@code defaultAction} |
|
152 |
*/ |
|
153 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
154 |
public R visitDocComment(DocCommentTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
155 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
156 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
157 |
|
25287 | 158 |
/** |
159 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
160 |
* |
|
161 |
* @param node {@inheritDoc} |
|
162 |
* @param p {@inheritDoc} |
|
163 |
* @return the result of {@code defaultAction} |
|
164 |
*/ |
|
165 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
166 |
public R visitDocRoot(DocRootTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
167 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
168 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
169 |
|
25287 | 170 |
/** |
48028
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
171 |
* {@inheritDoc} |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
172 |
* |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
173 |
* @implSpec This implementation calls {@code defaultAction}. |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
174 |
* |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
175 |
* @param node {@inheritDoc} |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
176 |
* @param p {@inheritDoc} |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
177 |
* @return the result of {@code defaultAction} |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
178 |
* @since 10 |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
179 |
*/ |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
180 |
@Override |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
181 |
public R visitDocType(DocTypeTree node, P p) { return defaultAction(node, p); } |
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
182 |
|
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
183 |
/** |
25287 | 184 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
185 |
* |
|
186 |
* @param node {@inheritDoc} |
|
187 |
* @param p {@inheritDoc} |
|
188 |
* @return the result of {@code defaultAction} |
|
189 |
*/ |
|
190 |
@Override |
|
48028
9e022f580a9d
8190552: Augment the Compiler API tree with APIs to represent HTML content
ksrini
parents:
47216
diff
changeset
|
191 |
public R visitEndElement(EndElementTree node, P p) { return defaultAction(node, p);} |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
192 |
|
25287 | 193 |
/** |
194 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
195 |
* |
|
196 |
* @param node {@inheritDoc} |
|
197 |
* @param p {@inheritDoc} |
|
198 |
* @return the result of {@code defaultAction} |
|
199 |
*/ |
|
200 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
201 |
public R visitEntity(EntityTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
202 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
203 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
204 |
|
25287 | 205 |
/** |
206 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
207 |
* |
|
208 |
* @param node {@inheritDoc} |
|
209 |
* @param p {@inheritDoc} |
|
210 |
* @return the result of {@code defaultAction} |
|
211 |
*/ |
|
212 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
213 |
public R visitErroneous(ErroneousTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
214 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
215 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
216 |
|
25287 | 217 |
/** |
218 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
219 |
* |
|
220 |
* @param node {@inheritDoc} |
|
221 |
* @param p {@inheritDoc} |
|
37009
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
222 |
* @return the result of {@code defaultAction} |
48060
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
223 |
* |
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
224 |
* @since 9 |
37009
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
225 |
*/ |
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
226 |
@Override |
37009
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
227 |
public R visitHidden(HiddenTree node, P p) { |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
228 |
return defaultAction(node, p); |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
229 |
} |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
230 |
|
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
231 |
/** |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
232 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
233 |
* |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
234 |
* @param node {@inheritDoc} |
476d8d615222
8073100: [javadoc] Provide an ability to suppress document generation for specific elements.
ksrini
parents:
34916
diff
changeset
|
235 |
* @param p {@inheritDoc} |
25287 | 236 |
* @return the result of {@code defaultAction} |
237 |
*/ |
|
238 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
239 |
public R visitIdentifier(IdentifierTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
240 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
241 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
242 |
|
25287 | 243 |
/** |
244 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
245 |
* |
|
246 |
* @param node {@inheritDoc} |
|
247 |
* @param p {@inheritDoc} |
|
248 |
* @return the result of {@code defaultAction} |
|
48060
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
249 |
* |
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
250 |
* @since 9 |
25287 | 251 |
*/ |
252 |
@Override |
|
34567
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
253 |
public R visitIndex(IndexTree node, P p) { |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
254 |
return defaultAction(node, p); |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
255 |
} |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
256 |
|
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
257 |
/** |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
258 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
259 |
* |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
260 |
* @param node {@inheritDoc} |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
261 |
* @param p {@inheritDoc} |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
262 |
* @return the result of {@code defaultAction} |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
263 |
*/ |
c74f68484156
8144287: Enhance DocTree API to support @index javadoc tags.
ksrini
parents:
25874
diff
changeset
|
264 |
@Override |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
265 |
public R visitInheritDoc(InheritDocTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
266 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
267 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
268 |
|
25287 | 269 |
/** |
270 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
271 |
* |
|
272 |
* @param node {@inheritDoc} |
|
273 |
* @param p {@inheritDoc} |
|
274 |
* @return the result of {@code defaultAction} |
|
275 |
*/ |
|
276 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
277 |
public R visitLink(LinkTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
278 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
279 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
280 |
|
25287 | 281 |
/** |
282 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
283 |
* |
|
284 |
* @param node {@inheritDoc} |
|
285 |
* @param p {@inheritDoc} |
|
286 |
* @return the result of {@code defaultAction} |
|
287 |
*/ |
|
288 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
289 |
public R visitLiteral(LiteralTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
290 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
291 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
292 |
|
25287 | 293 |
/** |
294 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
295 |
* |
|
296 |
* @param node {@inheritDoc} |
|
297 |
* @param p {@inheritDoc} |
|
298 |
* @return the result of {@code defaultAction} |
|
299 |
*/ |
|
300 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
301 |
public R visitParam(ParamTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
302 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
303 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
304 |
|
25287 | 305 |
/** |
306 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
307 |
* |
|
308 |
* @param node {@inheritDoc} |
|
309 |
* @param p {@inheritDoc} |
|
310 |
* @return the result of {@code defaultAction} |
|
48060
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
311 |
* |
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
312 |
* @since 9 |
25287 | 313 |
*/ |
314 |
@Override |
|
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
315 |
public R visitProvides(ProvidesTree node, P p) { |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
316 |
return defaultAction(node, p); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
317 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
318 |
|
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
319 |
/** |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
320 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
321 |
* |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
322 |
* @param node {@inheritDoc} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
323 |
* @param p {@inheritDoc} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
324 |
* @return the result of {@code defaultAction} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
325 |
*/ |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
326 |
@Override |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
327 |
public R visitReference(ReferenceTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
328 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
329 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
330 |
|
25287 | 331 |
/** |
332 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
333 |
* |
|
334 |
* @param node {@inheritDoc} |
|
335 |
* @param p {@inheritDoc} |
|
336 |
* @return the result of {@code defaultAction} |
|
337 |
*/ |
|
338 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
339 |
public R visitReturn(ReturnTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
340 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
341 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
342 |
|
25287 | 343 |
/** |
344 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
345 |
* |
|
346 |
* @param node {@inheritDoc} |
|
347 |
* @param p {@inheritDoc} |
|
348 |
* @return the result of {@code defaultAction} |
|
349 |
*/ |
|
350 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
351 |
public R visitSee(SeeTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
352 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
353 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
354 |
|
25287 | 355 |
/** |
356 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
357 |
* |
|
358 |
* @param node {@inheritDoc} |
|
359 |
* @param p {@inheritDoc} |
|
360 |
* @return the result of {@code defaultAction} |
|
361 |
*/ |
|
362 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
363 |
public R visitSerial(SerialTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
364 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
365 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
366 |
|
25287 | 367 |
/** |
368 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
369 |
* |
|
370 |
* @param node {@inheritDoc} |
|
371 |
* @param p {@inheritDoc} |
|
372 |
* @return the result of {@code defaultAction} |
|
373 |
*/ |
|
374 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
375 |
public R visitSerialData(SerialDataTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
376 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
377 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
378 |
|
25287 | 379 |
/** |
380 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
381 |
* |
|
382 |
* @param node {@inheritDoc} |
|
383 |
* @param p {@inheritDoc} |
|
384 |
* @return the result of {@code defaultAction} |
|
385 |
*/ |
|
386 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
387 |
public R visitSerialField(SerialFieldTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
388 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
389 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
390 |
|
25287 | 391 |
/** |
392 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
393 |
* |
|
394 |
* @param node {@inheritDoc} |
|
395 |
* @param p {@inheritDoc} |
|
396 |
* @return the result of {@code defaultAction} |
|
397 |
*/ |
|
398 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
399 |
public R visitSince(SinceTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
400 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
401 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
402 |
|
25287 | 403 |
/** |
404 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
405 |
* |
|
406 |
* @param node {@inheritDoc} |
|
407 |
* @param p {@inheritDoc} |
|
408 |
* @return the result of {@code defaultAction} |
|
409 |
*/ |
|
410 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
411 |
public R visitStartElement(StartElementTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
412 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
413 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
414 |
|
25287 | 415 |
/** |
416 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
417 |
* |
|
418 |
* @param node {@inheritDoc} |
|
419 |
* @param p {@inheritDoc} |
|
420 |
* @return the result of {@code defaultAction} |
|
46184
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
421 |
* @since 10 |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
422 |
*/ |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
423 |
@Override |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
424 |
public R visitSummary(SummaryTree node, P p) { |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
425 |
return defaultAction(node, p); |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
426 |
} |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
427 |
|
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
428 |
/** |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
429 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
430 |
* |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
431 |
* @param node {@inheritDoc} |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
432 |
* @param p {@inheritDoc} |
f1325703ea85
8173425: Javadoc needs a new tag to specify the summary.
ksrini
parents:
42831
diff
changeset
|
433 |
* @return the result of {@code defaultAction} |
52487
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
434 |
* @since 12 |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
435 |
*/ |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
436 |
@Override |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
437 |
public R visitSystemProperty(SystemPropertyTree node, P p) { |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
438 |
return defaultAction(node, p); |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
439 |
} |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
440 |
|
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
441 |
/** |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
442 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
443 |
* |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
444 |
* @param node {@inheritDoc} |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
445 |
* @param p {@inheritDoc} |
5d1d07b72f15
5076751: System properties documentation needed in javadocs
pmuthuswamy
parents:
48060
diff
changeset
|
446 |
* @return the result of {@code defaultAction} |
25287 | 447 |
*/ |
448 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
449 |
public R visitText(TextTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
450 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
451 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
452 |
|
25287 | 453 |
/** |
454 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
455 |
* |
|
456 |
* @param node {@inheritDoc} |
|
457 |
* @param p {@inheritDoc} |
|
458 |
* @return the result of {@code defaultAction} |
|
459 |
*/ |
|
460 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
461 |
public R visitThrows(ThrowsTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
462 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
463 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
464 |
|
25287 | 465 |
/** |
466 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
467 |
* |
|
468 |
* @param node {@inheritDoc} |
|
469 |
* @param p {@inheritDoc} |
|
470 |
* @return the result of {@code defaultAction} |
|
471 |
*/ |
|
472 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
473 |
public R visitUnknownBlockTag(UnknownBlockTagTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
474 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
475 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
476 |
|
25287 | 477 |
/** |
478 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
479 |
* |
|
480 |
* @param node {@inheritDoc} |
|
481 |
* @param p {@inheritDoc} |
|
482 |
* @return the result of {@code defaultAction} |
|
483 |
*/ |
|
484 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
485 |
public R visitUnknownInlineTag(UnknownInlineTagTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
486 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
487 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
488 |
|
25287 | 489 |
/** |
490 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
491 |
* |
|
492 |
* @param node {@inheritDoc} |
|
493 |
* @param p {@inheritDoc} |
|
494 |
* @return the result of {@code defaultAction} |
|
48060
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
495 |
* |
532cdc178e42
8184683: Add @since and default methods of Compiler Tree API methods
ksrini
parents:
48028
diff
changeset
|
496 |
* @since 9 |
25287 | 497 |
*/ |
498 |
@Override |
|
42831
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
499 |
public R visitUses(UsesTree node, P p) { |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
500 |
return defaultAction(node, p); |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
501 |
} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
502 |
|
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
503 |
/** |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
504 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
505 |
* |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
506 |
* @param node {@inheritDoc} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
507 |
* @param p {@inheritDoc} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
508 |
* @return the result of {@code defaultAction} |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
509 |
*/ |
feff6f296019
8160196: Module summary page should display information based on "api" or "detail" mode.
bpatel
parents:
37009
diff
changeset
|
510 |
@Override |
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
511 |
public R visitValue(ValueTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
512 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
513 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
514 |
|
25287 | 515 |
/** |
516 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
517 |
* |
|
518 |
* @param node {@inheritDoc} |
|
519 |
* @param p {@inheritDoc} |
|
520 |
* @return the result of {@code defaultAction} |
|
521 |
*/ |
|
522 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
523 |
public R visitVersion(VersionTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
524 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
525 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
526 |
|
25287 | 527 |
/** |
528 |
* {@inheritDoc} This implementation calls {@code defaultAction}. |
|
529 |
* |
|
530 |
* @param node {@inheritDoc} |
|
531 |
* @param p {@inheritDoc} |
|
532 |
* @return the result of {@code defaultAction} |
|
533 |
*/ |
|
534 |
@Override |
|
14541
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
535 |
public R visitOther(DocTree node, P p) { |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
536 |
return defaultAction(node, p); |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
537 |
} |
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
538 |
|
36f9d11fc9aa
7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents:
diff
changeset
|
539 |
} |