AbstractVariableData[] (final List<String> args) { final AbstractVariableData[] datas = new AbstractVariableData[args.size()]; for (int i = 0; i < args.size(); i++) { final AbstractVariableData data = new AbstractVariableData(); final String name = args.get(i); data.originalName = name; data.name = name; data.passAsParameter = true; datas[i] = data; } return datas; }