boolean (@NotNull LineBreakpoint<?> breakpoint, @NotNull SourcePosition position) { JavaBreakpointProperties properties = breakpoint.getProperties(); if (properties instanceof JavaLineBreakpointProperties) { if (!(breakpoint instanceof RunToCursorBreakpoint) && ((JavaLineBreakpointProperties)properties).getLambdaOrdinal() == null) return true; PsiElement containingMethod = getContainingMethod(breakpoint); if (containingMethod == null) return false; return DebuggerUtilsEx.inTheMethod(position, containingMethod); } return true; }