code: @Nullable
    private String deepestResolvedTypeNameOf(ObjectType objType) {
      if (!objType.isResolved() || !(objType instanceof ProxyObjectType)) {
        return objType.getReferenceName();
      }
  
      ObjectType internal = ((ProxyObjectType) objType).getReferencedObjTypeInternal();
      return (internal != null && internal.isNominalType())
          ? deepestResolvedTypeNameOf(internal)
          : null;
    }
docs: Named types may be proxies of concrete types.