private static @Nullable SourcePosition locationToPosition(DebugProcessImpl debugProcess, @Nullable Location location) {
    return location == null ? null : debugProcess.getPositionManager().getSourcePosition(location);
  }
private static @Nullable SourcePosition locationToPosition(DebugProcessImpl debugProcess, @Nullable Location location)