package net.happygiraffe.jslint;

/**
 * Base class for an {@link Option} binding.
 *
 * @author dom
 * @version $Id$
 */
public abstract class AbstractOptionInstance implements OptionInstance {

    private final Option option;

    /**
     * Create a new instance and associate it with <i>option</i>.
     */
    public AbstractOptionInstance(Option option) {
        this.option = option;
    }

    /**
     * Return the option associated with this instance.
     */
    public Option getOption() {
        return option;
    }

}

@@ -527,10 +527,119 @@
 %0A    %7D%0A%0A
+    @Override%0A    public String toString() %7B%0A        return option.getLowerName() + %22=%22 + getValue();%0A    %7D%0A%0A
 %7D%0A

Add a default toString() for OptionInstances.