338 }
339
340 public R visitLiteral(LiteralTree node, P p) {
341 return null;
342 }
343
344 public R visitPrimitiveType(PrimitiveTypeTree node, P p) {
345 return null;
346 }
347
348 public R visitArrayType(ArrayTypeTree node, P p) {
349 return scan(node.getType(), p);
350 }
351
352 public R visitParameterizedType(ParameterizedTypeTree node, P p) {
353 R r = scan(node.getType(), p);
354 r = scanAndReduce(node.getTypeArguments(), p, r);
355 return r;
356 }
357
358 public R visitDisjunctiveType(DisjunctiveTypeTree node, P p) {
359 return scan(node.getTypeAlternatives(), p);
360 }
361
362 public R visitTypeParameter(TypeParameterTree node, P p) {
363 R r = scan(node.getBounds(), p);
364 return r;
365 }
366
367 public R visitWildcard(WildcardTree node, P p) {
368 return scan(node.getBound(), p);
369 }
370
371 public R visitModifiers(ModifiersTree node, P p) {
372 return scan(node.getAnnotations(), p);
373 }
374
375 public R visitAnnotation(AnnotationTree node, P p) {
376 R r = scan(node.getAnnotationType(), p);
377 r = scanAndReduce(node.getArguments(), p, r);
378 return r;
|
338 }
339
340 public R visitLiteral(LiteralTree node, P p) {
341 return null;
342 }
343
344 public R visitPrimitiveType(PrimitiveTypeTree node, P p) {
345 return null;
346 }
347
348 public R visitArrayType(ArrayTypeTree node, P p) {
349 return scan(node.getType(), p);
350 }
351
352 public R visitParameterizedType(ParameterizedTypeTree node, P p) {
353 R r = scan(node.getType(), p);
354 r = scanAndReduce(node.getTypeArguments(), p, r);
355 return r;
356 }
357
358 public R visitUnionType(UnionTypeTree node, P p) {
359 return scan(node.getTypeAlternatives(), p);
360 }
361
362 public R visitTypeParameter(TypeParameterTree node, P p) {
363 R r = scan(node.getBounds(), p);
364 return r;
365 }
366
367 public R visitWildcard(WildcardTree node, P p) {
368 return scan(node.getBound(), p);
369 }
370
371 public R visitModifiers(ModifiersTree node, P p) {
372 return scan(node.getAnnotations(), p);
373 }
374
375 public R visitAnnotation(AnnotationTree node, P p) {
376 R r = scan(node.getAnnotationType(), p);
377 r = scanAndReduce(node.getArguments(), p, r);
378 return r;
|