@Nullable StackFilter popFrame(Project project) {
    if (myExtraFrames == 0) {
      if (myNext != null && myClassName.equals(myNext.myClassName) &&
          myMethodName.equals(myNext.myMethodName) && Objects.equals(myFileName, myNext.myFileName)) {
        PsiClass psiClass = ClassUtil.findPsiClass(PsiManager.getInstance(project), myClassName, null, true);
        if (psiClass != null) {
          PsiMethod[] methods = psiClass.findMethodsByName(myMethodName, false);
          for (PsiMethod method : methods) {
            if (isBridge(method)) return myNext.myNext;
          }
        }
      }
      return myNext;
    }
    return new StackFilter(myExtraFrames - 1, myClassName, myMethodName, myFileName, myNext);
  }
@Nullable StackFilter popFrame(Project project)