//# 4 errors, 314 messages
//#
/*
    //#JoinChannelCommand.java:1:1: class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#JoinChannelCommand.java:1:1: method: com.dmdirc.commandparser.commands.server.JoinChannelCommand.com.dmdirc.commandparser.commands.server.JoinChannelCommand__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.Channel;
import com.dmdirc.Server;
import com.dmdirc.actions.ActionManager;
import com.dmdirc.actions.CoreActionType;
import com.dmdirc.actions.interfaces.ActionType;
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.interfaces.ActionListener;
import com.dmdirc.ui.input.AdditionalTabTargets;
import com.dmdirc.ui.interfaces.InputWindow;
import com.dmdirc.ui.messages.Styliser;

import java.util.List;

/**
 * Allows the user to join channels.
 *
 * @since 0.6.3m1
 * @author chris
 */
public final class JoinChannelCommand extends ServerCommand implements
        ActionListener, IntelligentCommand {
    
    /**
     * Creates a new instance of the join channel command.
     */
    public JoinChannelCommand() {
        super();
    //#JoinChannelCommand.java:54: method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.com.dmdirc.commandparser.commands.server.JoinChannelCommand()
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): __Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com.dmdirc.actions.CoreActionType.CHANNEL_ACTION
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com.dmdirc.actions.CoreActionType.CHANNEL_MESSAGE
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandManager.com.dmdirc.ui.input.TabCompletionType.COMMAND
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandManager.commandChar
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandManager.commands
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandManager.parsers
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandType.TYPE_CHANNEL
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandType.TYPE_CHAT
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandType.TYPE_GLOBAL
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandType.TYPE_QUERY
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/CommandType.TYPE_SERVER
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/AliasCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/AliasCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/OpenQuery.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/OpenQuery.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ChannelCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/CommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/GlobalCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/QueryCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ServerCommandParser]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): this
    //#input(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): this.__Tag
    //#output(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): this.__Tag
    //#pre[1] (void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): init'ed(com/dmdirc/commandparser/CommandManager.commandChar)
    //#presumption(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): init'ed(com.dmdirc.actions.CoreActionType.CHANNEL_ACTION)
    //#presumption(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): init'ed(com.dmdirc.actions.CoreActionType.CHANNEL_MESSAGE)
    //#post(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): init'ed(this.__Tag)
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.commandparser.commands.Command
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:getName
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.util.Map:put
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.util.Map:remove
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:addEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:removeEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.ServerManager:getServerManager
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.ServerManager:getServers
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:getType
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Server:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Server:getChannels
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Server:getChannel
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Channel:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Server:getQueries
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.Query:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.util.MapList:containsKey
    //#unanalyzed(void com.dmdirc.commandparser.commands.server.JoinChannelCommand()): Effects-of-calling:com.dmdirc.util.MapList:get
        
        CommandManager.registerCommand(this);
        ActionManager.addListener(this, CoreActionType.CHANNEL_MESSAGE,
    //#JoinChannelCommand.java:57: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.ActionManager:addListener(ActionListener, ActionType[])
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand()
    //#    unanalyzed callee: void com.dmdirc.actions.ActionManager:addListener(ActionListener, ActionType[])
                CoreActionType.CHANNEL_ACTION);
    }
    //#JoinChannelCommand.java:59: end of method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.com.dmdirc.commandparser.commands.server.JoinChannelCommand()
    
    /** {@inheritDoc} */
    @Override
    public void execute(final InputWindow origin, final Server server,
            final boolean isSilent, final CommandArguments args) {
        if (args.getArguments().length == 0) {
    //#JoinChannelCommand.java:65: method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.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(...)@78 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@89 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@92 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:getQuery(...)@96 != null
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@78 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@88 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@89 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@91 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@92 >= 1
    //#presumption(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@96 >= 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:getCommandChar
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:getArgumentsAsString
    //#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:com.dmdirc.ui.interfaces.InputWindow:addLine
    //#unanalyzed(void execute(InputWindow, Server, bool, CommandArguments)): Effects-of-calling:java.lang.Character:valueOf
    //#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
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.Server:hasQuery(...)@88: {0}, {1}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): com.dmdirc.parser.irc.IRCParser:isValidChannelName(...)@78: {0}, {1}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@65: {1..+Inf}, {0}
    //#test_vector(void execute(InputWindow, Server, bool, CommandArguments)): getArguments(...).length@95: {0,1}, {2..+Inf}
            showUsage(origin, isSilent, "join", "join <channel [key]>[,channel [key]...]");
            return;
        }

        for (String pair : args.getArgumentsAsString().split(",")) {
    //#JoinChannelCommand.java:70: ?null dereference
    //#    getArgumentsAsString(...) != null
    //#    severity: MEDIUM
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    basic block: bb_3
    //#    assertion: getArgumentsAsString(...) != null
    //#    VN: getArgumentsAsString(...)
    //#    Expected: Inverse{null} or Invalid
    //#    Bad: Addr_Set{null}
    //#    Attribs:  Ptr  null in Bad
    //#JoinChannelCommand.java:70: ?use of default init
    //#    init'ed(arr$.length)
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    basic block: bb_3
    //#    assertion: init'ed(arr$.length)
    //#    VN: undefined
    //#    Expected: {-Inf..+Inf}
    //#    Bad: {Invalid}
    //#    Attribs:  Int  Bad only invalid
    //#JoinChannelCommand.java:70: ?use of default init
    //#    init'ed(len$)
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    basic block: bb_4
    //#    assertion: init'ed(len$)
    //#    VN: undefined
    //#    Expected: {-Inf..+Inf}
    //#    Bad: {Invalid}
    //#    Attribs:  Int  Bad only invalid
    //#JoinChannelCommand.java:70: Warning: test always goes same way
    //#    Test predetermined because i$ == len$
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    from bb: bb_4
    //#    live edge: bb_4-->bb_8
    //#    tested vn: i$ - undefined
    //#    tested vn values: {0}
    //#JoinChannelCommand.java:70: Warning: dead code
    //#    Dead code here because i$ == len$
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    dead bb: bb_5
    //#JoinChannelCommand.java:70: Warning: dead code continues
    //#    Dead code continues
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    dead bb: bb_7
            if (pair.trim().indexOf(' ') == -1) {
                server.join(pair);
    //#JoinChannelCommand.java:72: Warning: dead code continues
    //#    Dead code continues
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    dead bb: bb_6
            } else {

            }
        }

        if (server.getParser().isValidChannelName(args.getArguments()[0])) {
    //#JoinChannelCommand.java:78: Warning: method not available - call not analyzed
    //#    call on IRCParser com.dmdirc.Server:getParser()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: IRCParser com.dmdirc.Server:getParser()
    //#JoinChannelCommand.java:78: 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.JoinChannelCommand
    //#    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])) {
    //#JoinChannelCommand.java:88: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.Server:hasQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: bool com.dmdirc.Server:hasQuery(String)
            server.getQuery(args.getArguments()[0]).activateFrame();
    //#JoinChannelCommand.java:89: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#JoinChannelCommand.java:89: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:activateFrame()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Query:activateFrame()
        } else {
            server.addQuery(args.getArguments()[0]);
    //#JoinChannelCommand.java:91: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Server:addQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Server:addQuery(String)
            server.getQuery(args.getArguments()[0]).show();
    //#JoinChannelCommand.java:92: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#JoinChannelCommand.java:92: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:show()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    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));
    //#JoinChannelCommand.java:96: Warning: method not available - call not analyzed
    //#    call on Query com.dmdirc.Server:getQuery(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: Query com.dmdirc.Server:getQuery(String)
    //#JoinChannelCommand.java:96: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.Query:sendLine(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void execute(InputWindow, Server, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.Query:sendLine(String)
        }
    }
    //#JoinChannelCommand.java:98: end of method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.execute(InputWindow, Server, bool, CommandArguments)
    
    
    /** {@inheritDoc} */
    @Override
    public String getName() {
        return "join";
    //#JoinChannelCommand.java:104: method: String com.dmdirc.commandparser.commands.server.JoinChannelCommand.getName()
    //#output(String getName()): return_value
    //#post(String getName()): return_value == &"join"
    //#JoinChannelCommand.java:104: end of method: String com.dmdirc.commandparser.commands.server.JoinChannelCommand.getName()
    }
    
    /** {@inheritDoc} */
    @Override
    public boolean showInHelp() {
        return true;
    //#JoinChannelCommand.java:110: method: bool com.dmdirc.commandparser.commands.server.JoinChannelCommand.showInHelp()
    //#output(bool showInHelp()): return_value
    //#post(bool showInHelp()): return_value == 1
    //#JoinChannelCommand.java:110: end of method: bool com.dmdirc.commandparser.commands.server.JoinChannelCommand.showInHelp()
    }
    
    /** {@inheritDoc} */
    @Override
    public String getHelp() {
        return "join <channel [key]>[,channel [key]...] - joins the specified channel(s)";
    //#JoinChannelCommand.java:116: method: String com.dmdirc.commandparser.commands.server.JoinChannelCommand.getHelp()
    //#output(String getHelp()): return_value
    //#post(String getHelp()): return_value == &"join <channel [key]>[,channel [key]...] - joins the specified channel(s)"
    //#JoinChannelCommand.java:116: end of method: String com.dmdirc.commandparser.commands.server.JoinChannelCommand.getHelp()
    }

    /** {@inheritDoc} */
    @Override
    public void processEvent(final ActionType type, final StringBuffer format,
            final Object... arguments) {
        final Channel chan = (Channel) arguments[0];
    //#JoinChannelCommand.java:123: method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.processEvent(ActionType, StringBuffer, Object[])
    //#JoinChannelCommand.java:123: Warning: unused assignment
    //#    Unused assignment into chan
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void processEvent(ActionType, StringBuffer, Object[])
    //#input(void processEvent(ActionType, StringBuffer, Object[])): arguments
    //#input(void processEvent(ActionType, StringBuffer, Object[])): arguments.length
    //#input(void processEvent(ActionType, StringBuffer, Object[])): arguments[0]
    //#input(void processEvent(ActionType, StringBuffer, Object[])): arguments[2]
    //#pre[1] (void processEvent(ActionType, StringBuffer, Object[])): arguments != null
    //#pre[2] (void processEvent(ActionType, StringBuffer, Object[])): arguments.length >= 3
    //#pre[3] (void processEvent(ActionType, StringBuffer, Object[])): init'ed(arguments[0])
    //#pre[4] (void processEvent(ActionType, StringBuffer, Object[])): init'ed(arguments[2])
        final String message = (String) arguments[2];
    //#JoinChannelCommand.java:124: Warning: unused assignment
    //#    Unused assignment into message
    //#    severity: LOW
    //#    class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
    //#    method: void processEvent(ActionType, StringBuffer, Object[])
    }
    //#JoinChannelCommand.java:125: end of method: void com.dmdirc.commandparser.commands.server.JoinChannelCommand.processEvent(ActionType, StringBuffer, Object[])

    /** {@inheritDoc} */
    @Override
    public AdditionalTabTargets getSuggestions(final int arg,
            final List<String> previousArgs) {
        throw new UnsupportedOperationException("Not supported yet.");
    //#JoinChannelCommand.java:131: method: AdditionalTabTargets com.dmdirc.commandparser.commands.server.JoinChannelCommand.getSuggestions(int, List)
    //#JoinChannelCommand.java:131: ?check always fails: method always ends with an exception: AdditionalTabTargets getSuggestions(int, List).
    //#JoinChannelCommand.java:131: end of method: AdditionalTabTargets com.dmdirc.commandparser.commands.server.JoinChannelCommand.getSuggestions(int, List)
    }
    
}
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand]
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.execute(Lcom/dmdirc/ui/interfaces/InputWindow;Lcom/dmdirc/Server;ZLcom/dmdirc/commandparser/CommandArguments;)V
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getHelp()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets;
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.processEvent(Lcom/dmdirc/actions/interfaces/ActionType;Ljava/lang/StringBuffer;[Ljava/lang/Object;)V
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.sendLine(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;[Ljava/lang/Object;)V
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.showInHelp()Z
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand]
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand]
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand]
    //#output(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/ServerCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand]
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): com/dmdirc/commandparser/commands/ServerCommand.__Descendant_Table[com/dmdirc/commandparser/commands/server/JoinChannelCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__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.JoinChannelCommand__static_init): __Dispatch_Table.getHelp()Ljava/lang/String; == &getHelp
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets; == &getSuggestions
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType; == &com/dmdirc/commandparser/commands/ServerCommand.getType
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.processEvent(Lcom/dmdirc/actions/interfaces/ActionType;Ljava/lang/StringBuffer;[Ljava/lang/Object;)V == &processEvent
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__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.JoinChannelCommand__static_init): __Dispatch_Table.showInHelp()Z == &showInHelp
    //#post(com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V == &com/dmdirc/commandparser/commands/Command.showUsage
    //#JoinChannelCommand.java:: end of method: com.dmdirc.commandparser.commands.server.JoinChannelCommand.com.dmdirc.commandparser.commands.server.JoinChannelCommand__static_init
    //#JoinChannelCommand.java:: end of class: com.dmdirc.commandparser.commands.server.JoinChannelCommand
