public final void setNewDiffLastPrimaryDir(final String newDiffLastPrimaryDir) {
    Config.getInstance()
        .getPreferencesBuilder()
        .getHistoryBuilder()
        .setNewDiffPrimaryDir(newDiffLastPrimaryDir);
  }
Sets and gets the main settings via java
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/GeneralSettingsConfigItem.java