use of gw.lang.reflect.IType in project cucumber-jvm by cucumber.
the class GosuStepDefinition method getParameterInfos.
private List<ParameterInfo> getParameterInfos() {
IType[] parameterTypes = block.getFunctionType().getParameterTypes();
List<ParameterInfo> result = new ArrayList<ParameterInfo>(parameterTypes.length);
for (IType parameterType : parameterTypes) {
// TODO: Can we get more info from the parameterType?
result.add(new ParameterInfo(String.class, null, null, null));
}
return result;
}
Aggregations