static void checkPreviewFeature(@NotNull PsiElement element, @Nullable PreviewFeatureUtil.PreviewFeatureVisitor visitor) {
    if (visitor != null) {
      element.accept(visitor);
    }
  }
static void checkPreviewFeature(@NotNull PsiElement element, @Nullable PreviewFeatureUtil.PreviewFeatureVisitor visitor)