public EbeanQueryWrapper bind(EbeanQueryWrapper query) {

        Assert.notNull(query, "EbeanQueryWrapper must not be null!");

        int bindableParameterIndex = 0;
        int queryParameterPosition = 1;

        for (Parameter parameter : parameters) {

            if (canBindParameter(parameter)) {

                Object value = accessor.getBindableValue(bindableParameterIndex);
                bind(query, parameter, value, queryParameterPosition++);
                bindableParameterIndex++;
            }
        }

        return query;
    }
public EbeanQueryWrapper bind ( EbeanQueryWrapper query ) { Assert . notNull ( query , "EbeanQueryWrapper must not be null!" ) ; int bindableParameterIndex = 0 ; int queryParameterPosition = 1 ; for ( Parameter parameter : parameters ) { if ( canBindParameter ( parameter ) ) { Object value = accessor . getBindableValue ( bindableParameterIndex ) ; bind ( query , parameter , value , queryParameterPosition ++ ) ; bindableParameterIndex ++ ; } } return query ; }
Binds the parameters to the given {@link Query}.

@param query must not be {@literal null}.
@return