code: public boolean validOptions(List<String[]> optlist) {
          Object retVal;
          String options[][] = optlist.toArray(new String[optlist.length()][]);
          String methodName = "validOptions";
          DocErrorReporter reporter = messager;
          Class<?>[] paramTypes = { String[][].class, DocErrorReporter.class };
          Object[] params = { options, reporter };
          try {
              retVal = invoke(methodName, Boolean.TRUE, paramTypes, params);
          } catch (DocletInvokeException exc) {
              return false;
          }
          if (retVal instanceof Boolean) {
              return ((Boolean)retVal);
          } else {
              messager.error(Messager.NOPOS, "main.must_return_boolean",
                             docletClassName, methodName);
              return false;
          }
      }
docs: Let doclet check that all options are OK. Returning true means
  options are OK.  If method does not exist, assume true.