langtools/src/share/classes/com/sun/tools/javac/tree/TreeCopier.java
changeset 5492 515e4b33b335
parent 3149 0cd06d598d6f
child 5520 86e4b9a9da40
equal deleted inserted replaced
5491:899e1748bb17 5492:515e4b33b335
   343         JCExpression clazz = copy(t.clazz, p);
   343         JCExpression clazz = copy(t.clazz, p);
   344         List<JCExpression> arguments = copy(t.arguments, p);
   344         List<JCExpression> arguments = copy(t.arguments, p);
   345         return M.at(t.pos).TypeApply(clazz, arguments);
   345         return M.at(t.pos).TypeApply(clazz, arguments);
   346     }
   346     }
   347 
   347 
       
   348     public JCTree visitDisjointType(DisjointTypeTree node, P p) {
       
   349         JCTypeDisjoint t = (JCTypeDisjoint) node;
       
   350         List<JCExpression> components = copy(t.components, p);
       
   351         return M.at(t.pos).TypeDisjoint(components);
       
   352     }
       
   353 
   348     public JCTree visitArrayType(ArrayTypeTree node, P p) {
   354     public JCTree visitArrayType(ArrayTypeTree node, P p) {
   349         JCArrayTypeTree t = (JCArrayTypeTree) node;
   355         JCArrayTypeTree t = (JCArrayTypeTree) node;
   350         JCExpression elemtype = copy(t.elemtype, p);
   356         JCExpression elemtype = copy(t.elemtype, p);
   351         return M.at(t.pos).TypeArray(elemtype);
   357         return M.at(t.pos).TypeArray(elemtype);
   352     }
   358     }