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