/** Create a list of type parameter trees from a list of type variables. */ public List<JCTypeParameter> TypeParams(List<Type> typarams) { ListBuffer<JCTypeParameter> tparams = new ListBuffer<JCTypeParameter>(); for (List<Type> l = typarams; l.nonEmpty(); l = l.tail) tparams.append(TypeParam(l.head.tsym.name, (TypeVar)l.head)); return tparams.toList(); }
/** Create a list of type parameter trees from a list of type variables. */ public List<JCTypeParameter> TypeParams(List<Type> typarams) { ListBuffer<JCTypeParameter> tparams = new ListBuffer<JCTypeParameter>(); int i = 0; for (List<Type> l = typarams; l.nonEmpty(); l = l.tail) tparams.append(TypeParam(l.head.tsym.name, (TypeVar)l.head)); return tparams.toList(); }
/** Create a list of type parameter trees from a list of type variables. */ public List<JCTypeParameter> TypeParams(List<Type> typarams) { ListBuffer<JCTypeParameter> tparams = new ListBuffer<JCTypeParameter>(); int i = 0; for (List<Type> l = typarams; l.nonEmpty(); l = l.tail) tparams.append(TypeParam(l.head.tsym.name, (TypeVar)l.head)); return tparams.toList(); }
/** Create a list of type parameter trees from a list of type variables. */ public List<JCTypeParameter> TypeParams(List<Type> typarams) { ListBuffer<JCTypeParameter> tparams = new ListBuffer<JCTypeParameter>(); for (List<Type> l = typarams; l.nonEmpty(); l = l.tail) tparams.append(TypeParam(l.head.tsym.name, (TypeVar)l.head)); return tparams.toList(); }