Moved type parameter count check to Types.newParameterizedType()