class DebugConfigurationListener implements ConfigurationListener {
    private final Logger logger;

    /**
     * @deprecated Use {@link #DebugConfigurationListener(Logger)} instead.
     */
    @Deprecated
    public DebugConfigurationListener(org.codehaus.plexus.logging.Logger logger) {
        this(LoggerFactory.getLogger(logger.getName()));
    }

    public DebugConfigurationListener(Logger logger) {
        this.logger = logger;
    }

    public void notifyFieldChangeUsingSetter(String fieldName, Object value, Object target) {
        if (logger.isDebugEnabled()) {
            logger.debug("  (s) " + fieldName + " = " + toString(value));
        }
    }

    public void notifyFieldChangeUsingReflection(String fieldName, Object value, Object target) {<FILL_FUNCTION_BODY>}

    /**
     * Creates a human-friendly string representation of the specified object.
     *
     * @param obj The object to create a string representation for, may be <code>null</code>.
     * @return The string representation, never <code>null</code>.
     */
    private String toString(Object obj) {
        String str;
        if (obj != null && obj.getClass().isArray()) {
            int n = Array.getLength(obj);
            StringBuilder buf = new StringBuilder(256);
            buf.append('[');
            for (int i = 0; i < n; i++) {
                if (i > 0) {
                    buf.append(", ");
                }
                buf.append(String.valueOf(Array.get(obj, i)));
            }
            buf.append(']');
            str = buf.toString();
        } else {
            str = String.valueOf(obj);
        }
        return str;
    }
}

        if (logger.isDebugEnabled()) {
            logger.debug("  (f) " + fieldName + " = " + toString(value));
        }
    
<no_super_class>