private void checkPosition(@NotNull SourcePosition position) throws NoDataException{
    if (!myScratchFile.equals(position.getFile().getVirtualFile())) {
      throw NoDataException.INSTANCE;
    }
  }
private void checkPosition(@NotNull SourcePosition position)