@Override
	protected String getTypeDeclString() throws IOException {
		// type CustomMaptype map[keykey]valuetype
		String selfName = getName();
		String keyName = getKey().getName();
		String elemName = getElement().getName();
		String defStr = "map[%s]%s".formatted(keyName, elemName);
		String defStrWithLinks = "map[%s]%s".formatted(
			AddressAnnotatedStringHandler.createAddressAnnotationString(key, keyName),
			AddressAnnotatedStringHandler.createAddressAnnotationString(elem, elemName));
		boolean hasName = !defStr.equals(selfName);

		return "type %s%s".formatted(hasName ? selfName + " " : "", defStrWithLinks);
	}
Returns the GoType that defines the map's bucket, referenced by the bucket field's markup annotation

@return GoType that defines the map's bucket
@throws IOException if error reading data
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/types/GoMapType.java