예제 #1
0
 protected JL5Call_c reconstruct(Receiver target, List arguments, List typeArgs) {
   if (target != this.target
       || !CollectionUtil.equals(arguments, this.arguments)
       || !CollectionUtil.equals(typeArgs, this.typeArguments)) {
     JL5Call_c n = (JL5Call_c) copy();
     n.target = target;
     n.arguments = TypedList.copyAndCheck(arguments, Expr.class, true);
     n.typeArguments = TypedList.copyAndCheck(typeArgs, TypeNode.class, false);
     return n;
   }
   return this;
 }
예제 #2
0
 public JL5Call typeArguments(List args) {
   JL5Call_c n = (JL5Call_c) copy();
   n.typeArguments = args;
   return n;
 }