def METHOD_NAME(self, known_commands=None, known_options=None, aliases=None):
    return GetoptLexer(CommandLineLexer(),
                       known_commands=known_commands or self._known_commands,
                       known_options=known_options,
                       aliases=aliases or self._aliases)