@Nullable
  private static IntentionAction getChangeParameterClassFix(@NotNull PsiType lType, @NotNull PsiType rType) {
    PsiClass lClass = PsiUtil.resolveClassInClassTypeOnly(lType);
    PsiClass rClass = PsiUtil.resolveClassInClassTypeOnly(rType);

    if (rClass == null || lClass == null) return null;
    if (rClass instanceof PsiAnonymousClass) return null;
    if (rClass.isInheritor(lClass, true)) return null;
    if (lClass.isInheritor(rClass, true)) return null;
    if (lClass == rClass) return null;

    return QuickFixFactory.getInstance().createChangeParameterClassFix(rClass, (PsiClassType)lType);
  }
@Nullable
  private static IntentionAction getChangeParameterClassFix(@NotNull PsiType lType, @NotNull PsiType rType)