public Map<String, String> resolveAliases() {
			this.resolvedAliases = new LinkedHashMap<>();
			for (String alias : aliases.keySet()) {
				if (alias.equals("")) {
					throw new IllegalArgumentException("Key '' cannot be an alias");
				}
				if (schemas.containsKey(alias)) {
					throw new IllegalArgumentException(
						"Key '%s' cannot be both an attribute and an alias".formatted(alias));
				}
				resolveAlias(alias, new LinkedHashSet<>());
			}
			return resolvedAliases;
		}
{@inheritDoc}

<p>
Generally speaking, object identity is sufficient for checking equality in production;
however, this method is provided for testing equality between an actual and expected
attribute schema.
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/schema/DefaultTraceObjectSchema.java