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