PyTypingNewType (@NotNull PyCallExpression call, @Nullable PyTypingNewTypeStub stub, @NotNull TypeEvalContext context) { if (stub == null) return null; final PyClassType type = getClassType(stub, context, call); return type != null ? new PyTypingNewType(type, stub.getName(), getDeclaration(call)) : null; }