@Override
  public boolean isAcceptable(Object element, PsiElement context) {
    if (element instanceof PsiMethodCallExpression callExpression) {
      String name = callExpression.getMethodExpression().getReferenceName();
      if (name == null || !myMethodNames.contains(name)) {
        return false;
      }

      final PsiMethod psiMethod = callExpression.resolveMethod();
      return psiMethod != null &&
             myMethodNames.contains(psiMethod.getName()) &&
             InheritanceUtil.isInheritor(psiMethod.getContainingClass(), myClassName);
    }
    return false;
  }
@Override
  public boolean isAcceptable(Object element, PsiElement context)