ModificationTracker (@NotNull XmlTag tag) { Project project = tag.getProject(); ExternalResourceManagerEx manager = ExternalResourceManagerEx.getInstanceEx(); return () -> manager.getModificationCount(project); }