boolean isAcceptable(PsiElement element) {
    if (myExtraFrames > 0) return true;
    PsiElement parent = getElementContext(element);
    if (parent instanceof PsiMember) {
      return myMethodName.equals(getExpectedName((PsiMember)parent)) && classMatches(((PsiMember)parent).getContainingClass());
    }
    if (parent instanceof PsiLambdaExpression) {
      return myMethodName.startsWith("lambda$") && classMatches(PsiUtil.getContainingClass(parent));
    }
    return false;
  }
boolean isAcceptable(PsiElement element)