List<Breakpoint> () { try { final List<RemoteBreakpoint> list = myManager.getBreakpoints(); final ArrayList<Breakpoint> breakpoints = new ArrayList<>(list.size()); for (RemoteBreakpoint breakpoint : list) { breakpoints.add(new MyBreakpoint(breakpoint)); } return breakpoints; } catch (RemoteException e) { throw handleRemoteException(e); } }