public DocstringParam getParamToEdit() {
    if (myAddedParams.isEmpty()) {
      throw new IllegalStateException("We should have at least one param to edit");
    }
    return myAddedParams.get(0);
  }
public DocstringParam getParamToEdit()