private static @NonNls @Nullable String getLastOpenedFilePath(@Nullable Project project) {
    return (project != null ? PropertiesComponent.getInstance(project) : PropertiesComponent.getInstance()).getValue(LAST_OPENED_FILE);
  }
private static @NonNls @Nullable String getLastOpenedFilePath(@Nullable Project project)