private void assertPhysical(@NotNull PsiElement element) {
    if (!element.isPhysical()) {
      LOG.error("Non-physical PsiElement. Physical element is required to be able to anchor the problem in the source tree: " +
                element + "; parent: " + element.getParent() +"; file: " + element.getContainingFile());
    }
  }
private void assertPhysical(@NotNull PsiElement element)