public static boolean isAssignableByParameter(@Nullable PsiType targetType,
                                                @Nullable PsiType actualType,
                                                @NotNull PsiElement context) {

    if (targetType == null || actualType == null) return false;
    return canAssign(targetType, actualType, context, Position.GENERIC_PARAMETER) == ConversionResult.OK;
  }
public static boolean isAssignableByParameter(@Nullable PsiType targetType,
                                                @Nullable PsiType actualType,
                                                @NotNull PsiElement context)