336 JCExpression clazz = copy(t.clazz, p); |
336 JCExpression clazz = copy(t.clazz, p); |
337 List<JCExpression> arguments = copy(t.arguments, p); |
337 List<JCExpression> arguments = copy(t.arguments, p); |
338 return M.at(t.pos).TypeApply(clazz, arguments); |
338 return M.at(t.pos).TypeApply(clazz, arguments); |
339 } |
339 } |
340 |
340 |
341 public JCTree visitDisjunctiveType(DisjunctiveTypeTree node, P p) { |
341 public JCTree visitUnionType(UnionTypeTree node, P p) { |
342 JCTypeDisjunction t = (JCTypeDisjunction) node; |
342 JCTypeUnion t = (JCTypeUnion) node; |
343 List<JCExpression> components = copy(t.alternatives, p); |
343 List<JCExpression> components = copy(t.alternatives, p); |
344 return M.at(t.pos).TypeDisjunction(components); |
344 return M.at(t.pos).TypeUnion(components); |
345 } |
345 } |
346 |
346 |
347 public JCTree visitArrayType(ArrayTypeTree node, P p) { |
347 public JCTree visitArrayType(ArrayTypeTree node, P p) { |
348 JCArrayTypeTree t = (JCArrayTypeTree) node; |
348 JCArrayTypeTree t = (JCArrayTypeTree) node; |
349 JCExpression elemtype = copy(t.elemtype, p); |
349 JCExpression elemtype = copy(t.elemtype, p); |