@Nullable
  private static VirtualFile getVirtualFile(DomElement domElement) {
    final VirtualFile file = DomUtil.getFile(domElement).getOriginalFile().getVirtualFile();
    return file instanceof VirtualFileWithId ? file : null;
  }
@Nullable
  private static VirtualFile getVirtualFile(DomElement domElement)