private void setNamesSync(boolean checkboxState, String @Nullable [] value) {
    synchronized (myNames) {
      myNames[checkboxState ? 1 : 0] = value;
    }
  }
private void setNamesSync(boolean checkboxState, String @Nullable [] value)