// NOTE: don't set a return type for constructors
ctor.setReturnTypeReference(null);
MethodInfo mInfo = iinfo.iInit;
int paramTypesSize = mInfo.getParamTypes().size();
final ParameterDefinition params[] = new ParameterDefinition[paramTypesSize + (mInfo.needsRest() ? 1 : 0)];
if (params.length > 0)
{
Vector<PooledValue> defaultValues = mInfo.getDefaultValues();
int firstOptionalParam = paramTypesSize - defaultValues.size();
for (int i = 0; i < paramTypesSize; i++)