void attach() {
                    final var evt = (JdbiStatementEvent) statementEvent;
                    evt.traceId = ctx.getTraceId();
                    evt.type = ctx.describeJdbiStatementType();
                    final var stmtConfig = getConfig(SqlStatements.class);
                    final String renderedSql = ctx.getRenderedSql();
                    if (renderedSql != null) {
                        evt.sql = renderedSql.substring(0,
                                Math.min(renderedSql.length(), stmtConfig.getJfrSqlMaxLength()));
                    }
                    evt.parameters = getBinding().describe(stmtConfig.getJfrParamMaxLength());
                    ctx.addCleanable(() -> {
                        evt.rowsMapped = ctx.getMappedRows();
                        evt.commit();
                    });
                }
Define all bound arguments that don't already have a definition with a boolean indicating their presence.
Useful to easily template optional properties of pojos or beans like {@code <if(property)>property = :property<endif>}.
@return this
core/src/main/java/org/jdbi/v3/core/statement/SqlStatement.java