class ReferenceBuilder extends AbstractReferenceBuilder<ReferenceConfig, ReferenceBuilder<T>> {

    public ReferenceBuilder<T> addMethod(MethodConfig method) {
        if (this.methods == null) {
            this.methods = new ArrayList<>();
        }
        this.methods.add(method);
        return getThis();
    }

}