docs: Object getEnvEntryType(EnvEntry envEntry)
                      throws InjectionConfigurationException
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
  
          Object type = null;
  
          String typeName = envEntry.getTypeName();
          if (typeName != null)
          {
              for (Class<?> typeClass : ENV_ENTRY_TYPES)
              {
                  if (typeName.equals(typeClass.getName()))
                  {
                      type = typeClass;
                      break;
                  }
              }
  
              if (type == null)
              {
                  if (ivNameSpaceConfig.getClassLoader() == null)
                  {
                      // F743-32443 - We don't have a class loader, so we can't
                      // validate the type.  Store it as a string for now;
                      // EnvEntryEnumSerializable will validate it later when used.
                      type = typeName;
                  }
                  else
                  {
                      Class<?> classType = loadClass(typeName);
                      if (classType == null || !classType.isEnum())
                      {
                          Tr.error(tc, "INVALID_ENV_ENTRY_TYPE_CWNEN0064E",
                                   envEntry.getName(), ivModule, ivApplication, typeName);
                          throw new InjectionConfigurationException("A type, which is not valid, has been specified for the " +
                                                                    envEntry.getName() + " simple environment entry in the " +
                                                                    ivModule + " module of the " + ivApplication +
                                                                    " application: '" + typeName + "'.");
                      }
  
                      type = classType;
                  }
              }
          }
          // d654504
          else
          {
              // Default to type of Object, to avoid later NPE when checking to
              // see if the specified injection type is compatible with the
              // variable we are injecting into.
              if (isTraceOn && tc.isDebugEnabled())
              {
                  Tr.debug(tc, "EnvEntry XML type is not set.");
              }
          }
  
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, "env-entry-type = " +
                           ((type == null) ? "null" : type.getClass().getName()));
  
          return type;
      }