verride
        public void visitAnchor(@NotNull YAMLAnchor anchor) {
          defMap.put(anchor.getName(), anchor);
          firstDefMap.putIfAbsent(anchor.getName(), anchor);
        }
 
verride
        public void visitAnchor(@NotNull YAMLAnchor anchor) {