private List<String> getParameters(MappedStatement ms, Object parameterObject, BoundSql boundSql) throws SQLException {
        // DefaultParameterHandler is the only implementation of parameterHandler interface currently. it may be changed later.
        // need additional codes to find a appropriate implementation in that case.
        ParameterHandler parameterHandler = new DefaultParameterHandler(ms, parameterObject, boundSql);
        PreparedStatementParameterLogger parameterLogger = new PreparedStatementParameterLogger();
        parameterHandler.setParameters(parameterLogger);
        return parameterLogger.getParameters();
    }
Plugin for printing out the bind variables of {@link java.sql.PreparedStatement} and {@link java.sql.CallableStatement} with Query string.
format of Query string can be changed with {@link BindLogFormatter}.
base implementation is {@link DefaultBindingLogFormatter}.
removeWhitespace option is supported

@author emeroad
commons-mybatis/src/main/java/com/navercorp/pinpoint/mybatis/plugin/BindingLogPlugin.java