69 for (T tree: trees) |
69 for (T tree: trees) |
70 lb.append(copy(tree, p)); |
70 lb.append(copy(tree, p)); |
71 return lb.toList(); |
71 return lb.toList(); |
72 } |
72 } |
73 |
73 |
74 public JCTree visitAnnotatedType(AnnotatedTypeTree node, P p) { |
74 //308 public JCTree visitAnnotatedType(AnnotatedTypeTree node, P p) { |
75 JCAnnotatedType t = (JCAnnotatedType) node; |
75 //308 JCAnnotatedType t = (JCAnnotatedType) node; |
76 List<JCTypeAnnotation> annotations = copy(t.annotations, p); |
76 //308 List<JCTypeAnnotation> annotations = copy(t.annotations, p); |
77 JCExpression underlyingType = copy(t.underlyingType, p); |
77 //308 JCExpression underlyingType = copy(t.underlyingType, p); |
78 return M.at(t.pos).AnnotatedType(annotations, underlyingType); |
78 //308 return M.at(t.pos).AnnotatedType(annotations, underlyingType); |
79 } |
79 //308 } |
80 |
80 |
81 public JCTree visitAnnotation(AnnotationTree node, P p) { |
81 public JCTree visitAnnotation(AnnotationTree node, P p) { |
82 JCAnnotation t = (JCAnnotation) node; |
82 JCAnnotation t = (JCAnnotation) node; |
83 JCTree annotationType = copy(t.annotationType, p); |
83 JCTree annotationType = copy(t.annotationType, p); |
84 List<JCExpression> args = copy(t.args, p); |
84 List<JCExpression> args = copy(t.args, p); |