private @NotNull PropertiesComponent getPropertiesComponent() {
    return myProject == null ? PropertiesComponent.getInstance() : PropertiesComponent.getInstance(myProject);
  }
private @NotNull PropertiesComponent getPropertiesComponent()