docs: private static void loadMessagesAndAddExtension(ExtensionLoader extensionLoader, Extension extension) {
          loadMessages(extension);
          if (!extension.isEnabled()) {
              return;
          }
  
          if (!canBeLoaded(mapClassExtension, extension)) {
              return;
          }
  
          if (extension.supportsDb(Model.getSingleton().getDb().getType()) &&  
          		(extension.supportsLowMemory() || ! Constant.isLowMemoryOptionSet())) {
              extensionLoader.addExtension(extension);
          } else if (!extension.supportsDb(Model.getSingleton().getDb().getType())) {
              log.debug("Not loading extension " + extension.getName() + ": doesnt support " + Model.getSingleton().getDb().getType());
              extension.setEnabled(false);
          } else if (extension.supportsLowMemory() || ! Constant.isLowMemoryOptionSet()) {
              log.debug("Not loading extension " + extension.getName() + ": doesnt support low memory option");
              extension.setEnabled(false);
          }
      }