boolean (DebugProcessImpl process, String name, Location location) { if (DebuggerUtilsEx.isLambdaName(name)) { SourcePosition position = process.getPositionManager().getSourcePosition(location); return ReadAction.compute(() -> { PsiElement psiMethod = DebuggerUtilsEx.getContainingMethod(position); if (psiMethod instanceof PsiLambdaExpression) { PsiType type = ((PsiLambdaExpression)psiMethod).getFunctionalInterfaceType(); PsiMethod interfaceMethod = LambdaUtil.getFunctionalInterfaceMethod(type); if (type != null && interfaceMethod != null && myTargetMethodName.equals(interfaceMethod.getName())) { try { return InheritanceUtil.isInheritor(type, myDeclaringClassName.getName(process).replace('$', '.')); } catch (EvaluateException e) { LOG.info(e); } } } return false; }); } return false; }