visualization/visualization-spi-doclet/src/main/java/se/jguru/nazgul/tools/visualization/spi/doclet/javadoc/LifecycleInvestigationDoclet.java
public static int optionLength(final String option) {

        final int standardOptionLength = Standard.optionLength(option);

        eventSequence.add("optionLength (" + option + "): " + standardOptionLength);

        return standardOptionLength;
    }
public static int optionLength(final String option) {

        final int standardOptionLength = Standard.optionLength(option);

        eventSequence.add("optionLength (" + option + "): " + standardOptionLength);

        return standardOptionLength;
    }
<p>Check for doclet-added options.  Returns the number of
arguments you must specify on the command line for the
given option.  For example, "-d docs" would return 2.</p>
<p>This method is required if the doclet contains any options.
If this method is missing, Javadoc will print an invalid flag
error for every option.</p>

@return number of arguments on the command line for an option
including the option name itself.  Zero return means
option not known.  Negative value means error occurred.