PyType (@NotNull PyClass cls, @NotNull Context context) { List<PyTypeParameterType> typeParameters = collectTypeParameters(cls, context); return typeParameters.isEmpty() ? null : new PyCollectionTypeImpl(cls, false, typeParameters); }