//# 0 errors, 359 messages
//#
/*
    //#OpenQuery.java:1:1: class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#OpenQuery.java:1:1: method: com.dmdirc.commandparser.commands.server.OpenQuery.com.dmdirc.commandparser.commands.server.OpenQuery__static_init
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.commandparser.commands.server;

import com.dmdirc.Server;
import com.dmdirc.commandparser.CommandArguments;
import com.dmdirc.commandparser.CommandManager;
import com.dmdirc.commandparser.commands.IntelligentCommand;
import com.dmdirc.commandparser.commands.ServerCommand;
import com.dmdirc.commandparser.commands.WrappableCommand;
import com.dmdirc.ui.input.AdditionalTabTargets;
import com.dmdirc.ui.input.TabCompletionType;
import com.dmdirc.ui.interfaces.InputWindow;
import com.dmdirc.ui.messages.Styliser;

import java.util.List;

/**
 * Allows the user to open a query dialog with another user.
 * @author chris
 */
public final class OpenQuery extends ServerCommand implements
        IntelligentCommand, WrappableCommand {
    
    /**
     * Creates a new instance of Query.
     */
    public OpenQuery() {
        super();
    //#OpenQuery.java:49: method: void com.dmdirc.commandparser.commands.server.OpenQuery.com.dmdirc.commandparser.commands.server.OpenQuery()
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): __Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandManager.com.dmdirc.ui.input.TabCompletionType.COMMAND
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandManager.commandChar
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandManager.commands
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandManager.parsers
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandType.TYPE_CHANNEL
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandType.TYPE_CHAT
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandType.TYPE_GLOBAL
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandType.TYPE_QUERY
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/CommandType.TYPE_SERVER
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/AliasCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/AliasCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/JoinChannelCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/JoinChannelCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ChannelCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/CommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/GlobalCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/QueryCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ServerCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): this
    //#input(void com.dmdirc.commandparser.commands.server.OpenQuery()): this.__Tag
    //#output(void com.dmdirc.commandparser.commands.server.OpenQuery()): this.__Tag
    //#pre[1] (void com.dmdirc.commandparser.commands.server.OpenQuery()): init'ed(com/dmdirc/commandparser/CommandManager.commandChar)
    //#post(void com.dmdirc.commandparser.commands.server.OpenQuery()): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.commandparser.commands.server.OpenQuery()): init'ed(this.__Tag)
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.commandparser.commands.Command
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:getName
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.util.Map:put
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.util.Map:remove
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:addEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:removeEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.ServerManager:getServerManager
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.ServerManager:getServers
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:getType
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Server:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Server:getChannels
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Server:getChannel
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Channel:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Server:getQueries
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.Query:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.util.MapList:containsKey
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.OpenQuery()): Effects-of-calling:com.dmdirc.util.MapList:get
        
        CommandManager.registerCommand(this);
    }
    //#OpenQuery.java:52: end of method: void com.dmdirc.commandparser.commands.server.OpenQuery.com.dmdirc.commandparser.commands.server.OpenQuery()
    
    /** {@inheritDoc} */
    @Override
    public void execute(final InputWindow origin, final Server server,
            final boolean isSilent, final CommandArguments args) {
        if (args.getArguments().length == 0) {
    //#OpenQuery.java:58: method: void com.dmdirc.commandparser.commands.server.OpenQuery.execute(InputWindow, Server, bool, CommandArguments)
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): " "._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): ""._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "((\S+\s*){"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "(\S+\s*){"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "?"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "You can't open a query with a channel; maybe you meant &#17;&#02;"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "join"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "msg"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "}"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): "}).*?"._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args.__Tag
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args.line
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args.line._tainted
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args.words
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): args.words.length
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[com/dmdirc/commandparser/CommandArguments]
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[others]
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArguments()[Ljava/lang/String;
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArgumentsAsString()Ljava/lang/String;
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArgumentsAsString(I)Ljava/lang/String;
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(I)Ljava/lang/String;
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(II)Ljava/lang/String;
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.parse()V
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): com/dmdirc/commandparser/CommandManager.commandChar
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): isSilent
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): origin
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): server
    //#input(void execute(InputWindow, Server, bool, CommandArguments)): this
    //#output(void execute(InputWindow, Server, bool, CommandArguments)): args.words
    //#output(void execute(InputWindow, Server, bool, CommandArguments)): java.lang.String:split(...)._tainted
    //#output(void execute(InputWindow, Server, bool, CommandArguments)): java.lang.String:split(...).length
    //#new obj(void execute(InputWindow, Server, bool, CommandArguments)): java.lang.String:split(...)
    //#pre[1] (void execute(InputWindow, Server, bool, CommandArguments)): args != null
    //#pre[3] (void execute(InputWindow, Server, bool, CommandArguments)): args.__Tag == com/dmdirc/commandparser/CommandArguments
    //#pre[9] (void execute(InputWindow, Server, bool, CommandArguments)): init'ed(args.words)
    //#pre[4] (void execute(InputWindow, Server, bool, CommandArguments)): (soft) args.line != null
    //#pre[7] (void execute(InputWindow, Server, bool, CommandArguments)): (soft) init'ed(com/dmdirc/commandparser/CommandManager.commandChar)
    //#pre[11] (void execute(InputWindow, Server, bool, CommandArguments)): (soft) server != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getParser(...)@63 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@74 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@77 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@81 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@63 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@73 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@74 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@76 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@77 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@81 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#post(void execute(InputWindow, Server, bool, CommandArguments)): args.words != null
    //#post(void execute(InputWindow, Server, bool, CommandArguments)): init'ed(java.lang.String:split(...)._tainted)
    //#post(void execute(InputWindow, Server, bool, CommandArguments)): java.lang.String:split(...)._tainted == 0
    //#post(void execute(InputWindow, Server, bool, CommandArguments)): init'ed(java.lang.String:split(...).length)
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:getArgumentsAsString
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:getCommandChar
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.String:split
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.util.Arrays:copyOfRange
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:compile
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:matcher
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:matches
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:group
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:com.dmdirc.ui.interfaces.InputWindow:addLine
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.Character:valueOf
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:hasQuery(...)@73: {0}, {1}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.parser.irc.IRCParser:isValidChannelName(...)@63: {0}, {1}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@58: {1..+Inf}, {0}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@80: {0,1}, {2..+Inf}
            showUsage(origin, isSilent, "query", "<target> <message>");
            return;
        }
            
        if (server.getParser().isValidChannelName(args.getArguments()[0])) {
    //#OpenQuery.java:63: Warning: method not available - call not analyzed
    //#    call on IRCParser com.dmdirc.Server:getParser()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: IRCParser com.dmdirc.Server:getParser()
    //#OpenQuery.java:63: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.parser.irc.IRCParser:isValidChannelName(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: bool com.dmdirc.parser.irc.IRCParser:isValidChannelName(String)
            sendLine(origin, isSilent, FORMAT_ERROR, "You can't open a query "
                    + "with a channel; maybe you meant " + Styliser.CODE_FIXED
                    + Styliser.CODE_BOLD + CommandManager.getCommandChar()
                    + (args.getArguments().length > 1 ? "msg" : "join") + " "
                    + args.getArgumentsAsString()
                    + Styliser.CODE_BOLD + Styliser.CODE_FIXED + "?");
            return;
        }

        if (server.hasQuery(args.getArguments()[0])) {
    //#OpenQuery.java:73: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.Server:hasQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: bool com.dmdirc.Server:hasQuery(String)
            server.getQuery(args.getArguments()[0]).activateFrame();
    //#OpenQuery.java:74: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#OpenQuery.java:74: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:activateFrame()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Query:activateFrame()
        } else {
            server.addQuery(args.getArguments()[0]);
    //#OpenQuery.java:76: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Server:addQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Server:addQuery(String)
            server.getQuery(args.getArguments()[0]).show();
    //#OpenQuery.java:77: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#OpenQuery.java:77: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:show()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Query:show()
        }

        if (args.getArguments().length > 1) {
            server.getQuery(args.getArguments()[0]).sendLine(args.getArgumentsAsString(1));
    //#OpenQuery.java:81: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#OpenQuery.java:81: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:sendLine(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Query:sendLine(String)
        }
    }
    //#OpenQuery.java:83: end of method: void com.dmdirc.commandparser.commands.server.OpenQuery.execute(InputWindow, Server, bool, CommandArguments)
    
    
    /** {@inheritDoc} */
    @Override
    public String getName() {
        return "query";
    //#OpenQuery.java:89: method: String com.dmdirc.commandparser.commands.server.OpenQuery.getName()
    //#output(String getName()): return_value
    //#post(String getName()): return_value == &"query"
    //#OpenQuery.java:89: end of method: String com.dmdirc.commandparser.commands.server.OpenQuery.getName()
    }
    
    /** {@inheritDoc} */
    @Override
    public boolean showInHelp() {
        return true;
    //#OpenQuery.java:95: method: bool com.dmdirc.commandparser.commands.server.OpenQuery.showInHelp()
    //#output(bool showInHelp()): return_value
    //#post(bool showInHelp()): return_value == 1
    //#OpenQuery.java:95: end of method: bool com.dmdirc.commandparser.commands.server.OpenQuery.showInHelp()
    }
    
    /** {@inheritDoc} */
    @Override
    public String getHelp() {
        return "query <user> [message] - opens a query with the specified user";
    //#OpenQuery.java:101: method: String com.dmdirc.commandparser.commands.server.OpenQuery.getHelp()
    //#output(String getHelp()): return_value
    //#post(String getHelp()): return_value == &"query <user> [message] - opens a query with the specified user"
    //#OpenQuery.java:101: end of method: String com.dmdirc.commandparser.commands.server.OpenQuery.getHelp()
    }
    
    /** {@inheritDoc} */
    @Override
    public AdditionalTabTargets getSuggestions(final int arg, final List<String> previousArgs) {
        final AdditionalTabTargets targets = new AdditionalTabTargets();
    //#OpenQuery.java:107: method: AdditionalTabTargets com.dmdirc.commandparser.commands.server.OpenQuery.getSuggestions(int, List)
    //#OpenQuery.java:107: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.ui.input.AdditionalTabTargets()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: void com.dmdirc.ui.input.AdditionalTabTargets()
    //#input(AdditionalTabTargets getSuggestions(int, List)): arg
    //#input(AdditionalTabTargets getSuggestions(int, List)): com.dmdirc.ui.input.TabCompletionType.CHANNEL_NICK
    //#output(AdditionalTabTargets getSuggestions(int, List)): new AdditionalTabTargets(getSuggestions#1) num objects
    //#output(AdditionalTabTargets getSuggestions(int, List)): return_value
    //#new obj(AdditionalTabTargets getSuggestions(int, List)): new AdditionalTabTargets(getSuggestions#1)
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): init'ed(com.dmdirc.ui.input.TabCompletionType.CHANNEL_NICK)
    //#post(AdditionalTabTargets getSuggestions(int, List)): return_value == &new AdditionalTabTargets(getSuggestions#1)
    //#post(AdditionalTabTargets getSuggestions(int, List)): new AdditionalTabTargets(getSuggestions#1) num objects == 1
    //#test_vector(AdditionalTabTargets getSuggestions(int, List)): arg: {-2_147_483_648..-1, 1..4_294_967_295}, {0}
        
        if (arg == 0) {
            targets.excludeAll();
    //#OpenQuery.java:110: Warning: method not available - call not analyzed
    //#    call on AdditionalTabTargets com.dmdirc.ui.input.AdditionalTabTargets:excludeAll()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: AdditionalTabTargets com.dmdirc.ui.input.AdditionalTabTargets:excludeAll()
            targets.include(TabCompletionType.CHANNEL_NICK);
    //#OpenQuery.java:111: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.ui.input.AdditionalTabTargets:include(TabCompletionType)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: void com.dmdirc.ui.input.AdditionalTabTargets:include(TabCompletionType)
        }
        
        return targets;
    //#OpenQuery.java:114: end of method: AdditionalTabTargets com.dmdirc.commandparser.commands.server.OpenQuery.getSuggestions(int, List)
    }
    
    /** {@inheritDoc} */
    @Override
    public int getLineCount(final InputWindow origin, final CommandArguments arguments) {
        if (arguments.getArguments().length >= 2) {
    //#OpenQuery.java:120: method: int com.dmdirc.commandparser.commands.server.OpenQuery.getLineCount(InputWindow, CommandArguments)
    //#input(int getLineCount(InputWindow, CommandArguments)): " :"._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): ""._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): "((\S+\s*){"._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): "(\S+\s*){"._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): "PRIVMSG "._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): "}"._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): "}).*?"._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments.__Tag
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments.line
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments.line._tainted
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments.words
    //#input(int getLineCount(InputWindow, CommandArguments)): arguments.words.length
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[com/dmdirc/commandparser/CommandArguments]
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[others]
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArguments()[Ljava/lang/String;
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArgumentsAsString(I)Ljava/lang/String;
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(I)Ljava/lang/String;
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(II)Ljava/lang/String;
    //#input(int getLineCount(InputWindow, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.parse()V
    //#input(int getLineCount(InputWindow, CommandArguments)): origin
    //#output(int getLineCount(InputWindow, CommandArguments)): arguments.words
    //#output(int getLineCount(InputWindow, CommandArguments)): java.lang.String:split(...)._tainted
    //#output(int getLineCount(InputWindow, CommandArguments)): java.lang.String:split(...).length
    //#output(int getLineCount(InputWindow, CommandArguments)): return_value
    //#new obj(int getLineCount(InputWindow, CommandArguments)): java.lang.String:split(...)
    //#pre[1] (int getLineCount(InputWindow, CommandArguments)): arguments != null
    //#pre[3] (int getLineCount(InputWindow, CommandArguments)): arguments.__Tag == com/dmdirc/commandparser/CommandArguments
    //#pre[7] (int getLineCount(InputWindow, CommandArguments)): init'ed(arguments.words)
    //#pre[4] (int getLineCount(InputWindow, CommandArguments)): (soft) arguments.line != null
    //#pre[8] (int getLineCount(InputWindow, CommandArguments)): (soft) origin != null
    //#presumption(int getLineCount(InputWindow, CommandArguments)): com.dmdirc.WritableFrameContainer:getServer(...)@122 != null
    //#presumption(int getLineCount(InputWindow, CommandArguments)): com.dmdirc.ui.interfaces.InputWindow:getContainer(...)@122 != null
    //#presumption(int getLineCount(InputWindow, CommandArguments)): getArguments(...).length@121 >= 1
    //#presumption(int getLineCount(InputWindow, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(int getLineCount(InputWindow, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#post(int getLineCount(InputWindow, CommandArguments)): arguments.words != null
    //#post(int getLineCount(InputWindow, CommandArguments)): init'ed(java.lang.String:split(...)._tainted)
    //#post(int getLineCount(InputWindow, CommandArguments)): java.lang.String:split(...)._tainted == 0
    //#post(int getLineCount(InputWindow, CommandArguments)): init'ed(java.lang.String:split(...).length)
    //#post(int getLineCount(InputWindow, CommandArguments)): init'ed(return_value)
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.lang.String:split
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.util.Arrays:copyOfRange
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:compile
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:matcher
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:matches
    //#unanalyzed(int getLineCount(InputWindow, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:group
    //#test_vector(int getLineCount(InputWindow, CommandArguments)): getArguments(...).length@120: {0,1}, {2..+Inf}
            final String target = arguments.getArguments()[0];
            return origin.getContainer().getServer().getNumLines("PRIVMSG "
    //#OpenQuery.java:122: Warning: method not available - call not analyzed
    //#    call on WritableFrameContainer com.dmdirc.ui.interfaces.InputWindow:getContainer()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: int getLineCount(InputWindow, CommandArguments)
    //#    unanalyzed callee: WritableFrameContainer com.dmdirc.ui.interfaces.InputWindow:getContainer()
    //#OpenQuery.java:122: Warning: method not available - call not analyzed
    //#    call on Server com.dmdirc.WritableFrameContainer:getServer()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: int getLineCount(InputWindow, CommandArguments)
    //#    unanalyzed callee: Server com.dmdirc.WritableFrameContainer:getServer()
    //#OpenQuery.java:122: Warning: method not available - call not analyzed
    //#    call on int com.dmdirc.Server:getNumLines(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.OpenQuery
    //#    method: int getLineCount(InputWindow, CommandArguments)
    //#    unanalyzed callee: int com.dmdirc.Server:getNumLines(String)
                    + target + " :" + arguments.getArgumentsAsString(1));
        } else {
            return 1;
    //#OpenQuery.java:125: end of method: int com.dmdirc.commandparser.commands.server.OpenQuery.getLineCount(InputWindow, CommandArguments)
        }
    }
    
}
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.execute(Lcom/dmdirc/ui/interfaces/InputWindow;Lcom/dmdirc/Server;ZLcom/dmdirc/commandparser/CommandArguments;)V
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getHelp()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getLineCount(Lcom/dmdirc/ui/interfaces/InputWindow;Lcom/dmdirc/commandparser/CommandArguments;)I
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets;
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.sendLine(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;[Ljava/lang/Object;)V
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.showInHelp()Z
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/ServerCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#output(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/WrappableCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery]
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/ServerCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): com/dmdirc/commandparser/commands/WrappableCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/OpenQuery] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.execute(Lcom/dmdirc/ui/interfaces/InputWindow;Lcom/dmdirc/Server;ZLcom/dmdirc/commandparser/CommandArguments;)V == &execute
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getHelp()Ljava/lang/String; == &getHelp
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getLineCount(Lcom/dmdirc/ui/interfaces/InputWindow;Lcom/dmdirc/commandparser/CommandArguments;)I == &getLineCount
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets; == &getSuggestions
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType; == &com/dmdirc/commandparser/commands/ServerCommand.getType
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.sendLine(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;[Ljava/lang/Object;)V == &com/dmdirc/commandparser/commands/Command.sendLine
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.showInHelp()Z == &showInHelp
    //#post(com.dmdirc.commandparser.commands.server.OpenQuery__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V == &com/dmdirc/commandparser/commands/Command.showUsage
    //#OpenQuery.java:: end of method: com.dmdirc.commandparser.commands.server.OpenQuery.com.dmdirc.commandparser.commands.server.OpenQuery__static_init
    //#OpenQuery.java:: end of class: com.dmdirc.commandparser.commands.server.OpenQuery
