private Icon checkPathAndGetErrorIcon() {
    if (myStoreAsFileCheckBox.isSelected() &&
        myRCStorageType == RCStorageType.ArbitraryFileInProject &&
        getErrorIfBadFolderPathForStoringInArbitraryFile(myProject, myFolderPathIfStoredInArbitraryFile) != null) {
      return GEAR_WITH_DROPDOWN_ERROR_ICON;
    }
    return GEAR_WITH_DROPDOWN_ICON;
  }
private Icon checkPathAndGetErrorIcon()