@Override
  @SuppressWarnings("unchecked")
  @NotNull
  public <B extends XBreakpoint<?>> Collection<? extends B> getBreakpoints(@NotNull final XBreakpointType<B,?> type) {
    return withLockMaybeCancellable(myLock, () -> {
      List<B> result = new ArrayList<>(getDefaultBreakpoints(type));
      result.addAll((Collection<? extends B>)myBreakpoints.get(type));
      return Collections.unmodifiableList(result);
    });
  }
@Override
  @SuppressWarnings("unchecked")
  @NotNull
  public <B extends XBreakpoint<?>> Collection<? extends B> getBreakpoints(@NotNull final XBreakpointType<B,?> type)