void (Project project, Collection<? super BreakpointItem> items) { Arrays.stream(XDebuggerManager.getInstance(project).getBreakpointManager().getAllBreakpoints()) .map(XBreakpointItem::new) .forEach(items::add); }