boolean (@NotNull Map<String, Hash> resolved, @NotNull String refName, @NotNull Object newValue) { if (resolved.containsKey(refName)) { LOG.error("Duplicate entry for [" + refName + "]. resolved: [" + resolved.get(refName).asString() + "], current: " + newValue + "]"); return true; } return false; }