private static IndentOptions getFileTypeIndentOptions(@NotNull FileTypeIndentOptionsFactory factory) {
    try {
      return factory.createIndentOptions();
    }
    catch (AbstractMethodError error) {
      LOG.error(PluginException.createByClass("Plugin uses obsolete API", null, factory.getClass()));
      return new IndentOptions();
    }
  }
private static IndentOptions getFileTypeIndentOptions(@NotNull FileTypeIndentOptionsFactory factory)