class ServiceBuilder extends AbstractServiceBuilder<ServiceConfig, ServiceBuilder<U>> {

    public ServiceBuilder<U> addMethods(List<? extends MethodConfig> methods) {
        if (this.methods == null) {
            this.methods = new ArrayList<>();
        }
        this.methods.addAll(methods);
        return getThis();
    }

}