docs: public static QName getNamespaceAndName(DMNModelInstrumentedBase localElement, Map<String, QName> importAliases, QName typeRef, String modelNamespace) {
          if (localElement instanceof KieDMNModelInstrumentedBase) {
              if (!typeRef.getPrefix().equals(XMLConstants.DEFAULT_NS_PREFIX)) {
                  return new QName(localElement.getNamespaceURI(typeRef.getPrefix()), typeRef.getLocalPart());
              } else {
                  for (Entry<String, QName> alias : importAliases.entrySet()) {
                      String prefix = alias.getKey() + ".";
                      if (typeRef.getLocalPart().startsWith(prefix)) {
                          return new QName(alias.getValue().getNamespaceURI(), typeRef.getLocalPart().replace(prefix, ""));
                      }
                  }
                  return new QName(localElement.getNamespaceURI(typeRef.getPrefix()), typeRef.getLocalPart());
              }
          } else {
              for (BuiltInType bi : DMNTypeRegistryV12.ITEMDEF_TYPEREF_FEEL_BUILTIN) {
                  for (String biName : bi.getNames()) {
                      if (biName.equals(typeRef.getLocalPart())) {
                          return new QName(localElement.getURIFEEL(), typeRef.getLocalPart());
                      }
                  }
              }
              for (Entry<String, QName> alias : importAliases.entrySet()) {
                  String prefix = alias.getKey() + ".";
                  if (typeRef.getLocalPart().startsWith(prefix)) {
                      return new QName(alias.getValue().getNamespaceURI(), typeRef.getLocalPart().replace(prefix, ""));
                  }
              }
              return new QName(modelNamespace, typeRef.getLocalPart());
          }
      }