Type[] fields = new Type[nAllArgs];
String[] labels = new String[nAllArgs];
for (int i = 0; i < args.size(); i++) {
TypeArg arg = args.get(i);
fields[i] = arg.getType().typeOf(env, true, eval);
if (fields[i] == null) {
throw new UndeclaredType(arg.hasName() ? Names.name(arg.getName()) : "?", arg);
}
if (arg.hasName()) {
labels[i] = Names.name(arg.getName());
} else {
labels[i] = "arg" + java.lang.Integer.toString(i);
}
}