docs: public static <T> T getBean(Class<T> interfaceClass, Class typeClass) {
          Object object = serviceMap.get(interfaceClass.getName() + "<" + typeClass.getName() + ">");
          if(object == null) return null;
          if(object instanceof Object[]) {
              return (T)Array.get(object, 0);
          } else {
              return (T)object;
          }
      }