@Override
  @NotNull
  public <B extends XBreakpoint<?>> Set<B> getDefaultBreakpoints(@NotNull XBreakpointType<B, ?> type) {
    return withLockMaybeCancellable(myLock, () -> {
      Set<XBreakpointBase<?, ?, ?>> breakpointsSet = myDefaultBreakpoints.get(type);
      if (breakpointsSet == null) {
        return Collections.emptySet();
      }
      //noinspection unchecked
      return (Set<B>)Set.copyOf(breakpointsSet);
    });
  }
@Override
  @NotNull
  public <B extends XBreakpoint<?>> Set<B> getDefaultBreakpoints(@NotNull XBreakpointType<B, ?> type)