View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.lang.java.ast;
5   
6   public class JavaParserVisitorAdapter implements JavaParserVisitor {
7   
8       public Object visit(JavaNode node, Object data) {
9           return node.childrenAccept(this, data);
10      }
11  
12      public Object visit(ASTExtendsList node, Object data) {
13          return visit((JavaNode) node, data);
14      }
15  
16      public Object visit(ASTClassOrInterfaceDeclaration node, Object data) {
17          return visit((JavaNode) node, data);
18      }
19  
20      public Object visit(ASTImplementsList node, Object data) {
21          return visit((JavaNode) node, data);
22      }
23  
24      public Object visit(ASTTypeParameters node, Object data) {
25          return visit((JavaNode) node, data);
26      }
27  
28      public Object visit(ASTMemberSelector node, Object data) {
29          return visit((JavaNode) node, data);
30      }
31  
32      public Object visit(ASTTypeParameter node, Object data) {
33          return visit((JavaNode) node, data);
34      }
35  
36      public Object visit(ASTTypeBound node, Object data) {
37          return visit((JavaNode) node, data);
38      }
39  
40      public Object visit(ASTClassOrInterfaceBody node, Object data) {
41          return visit((JavaNode) node, data);
42      }
43  
44      public Object visit(ASTClassOrInterfaceBodyDeclaration node, Object data) {
45          return visit((JavaNode) node, data);
46      }
47  
48      public Object visit(ASTEnumBody node, Object data) {
49          return visit((JavaNode) node, data);
50      }
51  
52      public Object visit(ASTEnumConstant node, Object data) {
53          return visit((JavaNode) node, data);
54      }
55  
56      public Object visit(ASTReferenceType node, Object data) {
57          return visit((JavaNode) node, data);
58      }
59  
60      public Object visit(ASTClassOrInterfaceType node, Object data) {
61          return visit((JavaNode) node, data);
62      }
63  
64      public Object visit(ASTTypeArguments node, Object data) {
65          return visit((JavaNode) node, data);
66      }
67  
68      public Object visit(ASTTypeArgument node, Object data) {
69          return visit((JavaNode) node, data);
70      }
71  
72      public Object visit(ASTWildcardBounds node, Object data) {
73          return visit((JavaNode) node, data);
74      }
75  
76      public Object visit(ASTAnnotation node, Object data) {
77          return visit((JavaNode) node, data);
78      }
79  
80      public Object visit(ASTNormalAnnotation node, Object data) {
81          return visit((JavaNode) node, data);
82      }
83  
84      public Object visit(ASTMarkerAnnotation node, Object data) {
85          return visit((JavaNode) node, data);
86      }
87  
88      public Object visit(ASTSingleMemberAnnotation node, Object data) {
89          return visit((JavaNode) node, data);
90      }
91  
92      public Object visit(ASTMemberValuePairs node, Object data) {
93          return visit((JavaNode) node, data);
94      }
95  
96      public Object visit(ASTMemberValuePair node, Object data) {
97          return visit((JavaNode) node, data);
98      }
99  
100     public Object visit(ASTMemberValue node, Object data) {
101         return visit((JavaNode) node, data);
102     }
103 
104     public Object visit(ASTMemberValueArrayInitializer node, Object data) {
105         return visit((JavaNode) node, data);
106     }
107 
108     public Object visit(ASTAnnotationTypeDeclaration node, Object data) {
109         return visit((JavaNode) node, data);
110     }
111 
112     public Object visit(ASTAnnotationTypeBody node, Object data) {
113         return visit((JavaNode) node, data);
114     }
115 
116     public Object visit(ASTAnnotationTypeMemberDeclaration node, Object data) {
117         return visit((JavaNode) node, data);
118     }
119     public Object visit(ASTAnnotationMethodDeclaration node, Object data) {
120         return visit((JavaNode) node, data);
121     }
122 
123     public Object visit(ASTDefaultValue node, Object data) {
124         return visit((JavaNode) node, data);
125     }
126 
127     public Object visit(ASTRUNSIGNEDSHIFT node, Object data) {
128         return visit((JavaNode) node, data);
129     }
130 
131     public Object visit(ASTRSIGNEDSHIFT node, Object data) {
132         return visit((JavaNode) node, data);
133     }
134 
135     public Object visit(ASTCompilationUnit node, Object data) {
136         return visit((JavaNode) node, data);
137     }
138 
139     public Object visit(ASTEnumDeclaration node, Object data) {
140         return visit((JavaNode) node, data);
141     }
142 
143     public Object visit(ASTAssertStatement node, Object data) {
144         return visit((JavaNode) node, data);
145     }
146 
147     public Object visit(ASTPackageDeclaration node, Object data) {
148         return visit((JavaNode) node, data);
149     }
150 
151     public Object visit(ASTImportDeclaration node, Object data) {
152         return visit((JavaNode) node, data);
153     }
154 
155     public Object visit(ASTTypeDeclaration node, Object data) {
156         return visit((JavaNode) node, data);
157     }
158 
159     public Object visit(ASTFieldDeclaration node, Object data) {
160         return visit((JavaNode) node, data);
161     }
162 
163     public Object visit(ASTVariableDeclarator node, Object data) {
164         return visit((JavaNode) node, data);
165     }
166 
167     public Object visit(ASTVariableDeclaratorId node, Object data) {
168         return visit((JavaNode) node, data);
169     }
170 
171     public Object visit(ASTVariableInitializer node, Object data) {
172         return visit((JavaNode) node, data);
173     }
174 
175     public Object visit(ASTArrayInitializer node, Object data) {
176         return visit((JavaNode) node, data);
177     }
178 
179     public Object visit(ASTMethodDeclaration node, Object data) {
180         return visit((JavaNode) node, data);
181     }
182 
183     public Object visit(ASTMethodDeclarator node, Object data) {
184         return visit((JavaNode) node, data);
185     }
186 
187     public Object visit(ASTFormalParameters node, Object data) {
188         return visit((JavaNode) node, data);
189     }
190 
191     public Object visit(ASTFormalParameter node, Object data) {
192         return visit((JavaNode) node, data);
193     }
194 
195     public Object visit(ASTConstructorDeclaration node, Object data) {
196         return visit((JavaNode) node, data);
197     }
198 
199     public Object visit(ASTExplicitConstructorInvocation node, Object data) {
200         return visit((JavaNode) node, data);
201     }
202 
203     public Object visit(ASTInitializer node, Object data) {
204         return visit((JavaNode) node, data);
205     }
206 
207     public Object visit(ASTType node, Object data) {
208         return visit((JavaNode) node, data);
209     }
210 
211     public Object visit(ASTPrimitiveType node, Object data) {
212         return visit((JavaNode) node, data);
213     }
214 
215     public Object visit(ASTResultType node, Object data) {
216         return visit((JavaNode) node, data);
217     }
218 
219     public Object visit(ASTName node, Object data) {
220         return visit((JavaNode) node, data);
221     }
222 
223     public Object visit(ASTNameList node, Object data) {
224         return visit((JavaNode) node, data);
225     }
226 
227     public Object visit(ASTExpression node, Object data) {
228         return visit((JavaNode) node, data);
229     }
230 
231     public Object visit(ASTAssignmentOperator node, Object data) {
232         return visit((JavaNode) node, data);
233     }
234 
235     public Object visit(ASTConditionalExpression node, Object data) {
236         return visit((JavaNode) node, data);
237     }
238 
239     public Object visit(ASTConditionalOrExpression node, Object data) {
240         return visit((JavaNode) node, data);
241     }
242 
243     public Object visit(ASTConditionalAndExpression node, Object data) {
244         return visit((JavaNode) node, data);
245     }
246 
247     public Object visit(ASTInclusiveOrExpression node, Object data) {
248         return visit((JavaNode) node, data);
249     }
250 
251     public Object visit(ASTExclusiveOrExpression node, Object data) {
252         return visit((JavaNode) node, data);
253     }
254 
255     public Object visit(ASTAndExpression node, Object data) {
256         return visit((JavaNode) node, data);
257     }
258 
259     public Object visit(ASTEqualityExpression node, Object data) {
260         return visit((JavaNode) node, data);
261     }
262 
263     public Object visit(ASTInstanceOfExpression node, Object data) {
264         return visit((JavaNode) node, data);
265     }
266 
267     public Object visit(ASTRelationalExpression node, Object data) {
268         return visit((JavaNode) node, data);
269     }
270 
271     public Object visit(ASTShiftExpression node, Object data) {
272         return visit((JavaNode) node, data);
273     }
274 
275     public Object visit(ASTAdditiveExpression node, Object data) {
276         return visit((JavaNode) node, data);
277     }
278 
279     public Object visit(ASTMultiplicativeExpression node, Object data) {
280         return visit((JavaNode) node, data);
281     }
282 
283     public Object visit(ASTUnaryExpression node, Object data) {
284         return visit((JavaNode) node, data);
285     }
286 
287     public Object visit(ASTPreIncrementExpression node, Object data) {
288         return visit((JavaNode) node, data);
289     }
290 
291     public Object visit(ASTPreDecrementExpression node, Object data) {
292         return visit((JavaNode) node, data);
293     }
294 
295     public Object visit(ASTUnaryExpressionNotPlusMinus node, Object data) {
296         return visit((JavaNode) node, data);
297     }
298 
299     public Object visit(ASTPostfixExpression node, Object data) {
300         return visit((JavaNode) node, data);
301     }
302 
303     public Object visit(ASTCastExpression node, Object data) {
304         return visit((JavaNode) node, data);
305     }
306 
307     public Object visit(ASTPrimaryExpression node, Object data) {
308         return visit((JavaNode) node, data);
309     }
310 
311     public Object visit(ASTPrimaryPrefix node, Object data) {
312         return visit((JavaNode) node, data);
313     }
314 
315     public Object visit(ASTPrimarySuffix node, Object data) {
316         return visit((JavaNode) node, data);
317     }
318 
319     public Object visit(ASTLiteral node, Object data) {
320         return visit((JavaNode) node, data);
321     }
322 
323     public Object visit(ASTBooleanLiteral node, Object data) {
324         return visit((JavaNode) node, data);
325     }
326 
327     public Object visit(ASTNullLiteral node, Object data) {
328         return visit((JavaNode) node, data);
329     }
330 
331     public Object visit(ASTArguments node, Object data) {
332         return visit((JavaNode) node, data);
333     }
334 
335     public Object visit(ASTArgumentList node, Object data) {
336         return visit((JavaNode) node, data);
337     }
338 
339     public Object visit(ASTAllocationExpression node, Object data) {
340         return visit((JavaNode) node, data);
341     }
342 
343     public Object visit(ASTArrayDimsAndInits node, Object data) {
344         return visit((JavaNode) node, data);
345     }
346 
347     public Object visit(ASTStatement node, Object data) {
348         return visit((JavaNode) node, data);
349     }
350 
351     public Object visit(ASTLabeledStatement node, Object data) {
352         return visit((JavaNode) node, data);
353     }
354 
355     public Object visit(ASTBlock node, Object data) {
356         return visit((JavaNode) node, data);
357     }
358 
359     public Object visit(ASTBlockStatement node, Object data) {
360         return visit((JavaNode) node, data);
361     }
362 
363     public Object visit(ASTLocalVariableDeclaration node, Object data) {
364         return visit((JavaNode) node, data);
365     }
366 
367     public Object visit(ASTEmptyStatement node, Object data) {
368         return visit((JavaNode) node, data);
369     }
370 
371     public Object visit(ASTStatementExpression node, Object data) {
372         return visit((JavaNode) node, data);
373     }
374 
375     public Object visit(ASTSwitchStatement node, Object data) {
376         return visit((JavaNode) node, data);
377     }
378 
379     public Object visit(ASTSwitchLabel node, Object data) {
380         return visit((JavaNode) node, data);
381     }
382 
383     public Object visit(ASTIfStatement node, Object data) {
384         return visit((JavaNode) node, data);
385     }
386 
387     public Object visit(ASTWhileStatement node, Object data) {
388         return visit((JavaNode) node, data);
389     }
390 
391     public Object visit(ASTDoStatement node, Object data) {
392         return visit((JavaNode) node, data);
393     }
394 
395     public Object visit(ASTForStatement node, Object data) {
396         return visit((JavaNode) node, data);
397     }
398 
399     public Object visit(ASTForInit node, Object data) {
400         return visit((JavaNode) node, data);
401     }
402 
403     public Object visit(ASTStatementExpressionList node, Object data) {
404         return visit((JavaNode) node, data);
405     }
406 
407     public Object visit(ASTForUpdate node, Object data) {
408         return visit((JavaNode) node, data);
409     }
410 
411     public Object visit(ASTBreakStatement node, Object data) {
412         return visit((JavaNode) node, data);
413     }
414 
415     public Object visit(ASTContinueStatement node, Object data) {
416         return visit((JavaNode) node, data);
417     }
418 
419     public Object visit(ASTReturnStatement node, Object data) {
420         return visit((JavaNode) node, data);
421     }
422 
423     public Object visit(ASTThrowStatement node, Object data) {
424         return visit((JavaNode) node, data);
425     }
426 
427     public Object visit(ASTSynchronizedStatement node, Object data) {
428         return visit((JavaNode) node, data);
429     }
430 
431     public Object visit(ASTTryStatement node, Object data) {
432         return visit((JavaNode) node, data);
433     }
434     public Object visit(ASTResourceSpecification node, Object data) {
435         return visit((JavaNode) node, data);
436     }
437     
438     public Object visit(ASTResources node, Object data) {
439         return visit((JavaNode) node, data);
440     }
441     
442     public Object visit(ASTResource node, Object data) {
443         return visit((JavaNode) node, data);
444     }
445 
446     public Object visit(ASTFinallyStatement node, Object data) {
447         return visit((JavaNode) node, data);
448     }
449 
450     public Object visit(ASTCatchStatement node, Object data) {
451         return visit((JavaNode) node, data);
452     }
453 
454     public Object visit(ASTLambdaExpression node, Object data) {
455         return visit((JavaNode)node, data);
456     }
457 
458     public Object visit(ASTMethodReference node, Object data) {
459         return visit((JavaNode)node, data);
460     }
461 }