@Contract(value = "_, _ -> new", pure = true)
  static @NotNull UsageOptions createOptions(boolean usages, @NotNull SearchScope searchScope) {
    return new UsageOptions() {

      @Override
      public boolean isUsages() {
        return usages;
      }

      @Override
      public @NotNull SearchScope getSearchScope() {
        return searchScope;
      }
    };
  }
@Contract(value = "_, _ -> new", pure = true)
  static @NotNull UsageOptions createOptions(boolean usages, @NotNull SearchScope searchScope)