void (@NotNull String dataId, @NotNull Object source) { LOG.error(PluginException.createByClass( "PSI element is provided on EDT by " + source.getClass().getName() + ".getData(\"" + dataId + "\"). " + "Please move that to a BGT data provider using PlatformCoreDataKeys.BGT_DATA_PROVIDER", null, source.getClass())); }