public <T> void registerApplicationService(@NotNull Class<T> serviceInterface, @NotNull T serviceImplementation) {
    application.registerService(serviceInterface, serviceImplementation);
  }
public <T> void registerApplicationService(@NotNull Class<T> serviceInterface, @NotNull T serviceImplementation)