//# 0 errors, 331 messages
//#
/*
    //#AliasCommand.java:1:1: class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#AliasCommand.java:1:1: method: com.dmdirc.commandparser.commands.global.AliasCommand.com.dmdirc.commandparser.commands.global.AliasCommand__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.global;

import com.dmdirc.actions.Action;
import com.dmdirc.actions.ActionManager;
import com.dmdirc.actions.wrappers.Alias;
import com.dmdirc.actions.wrappers.AliasWrapper;
import com.dmdirc.commandparser.CommandArguments;
import com.dmdirc.commandparser.CommandManager;
import com.dmdirc.commandparser.commands.GlobalCommand;
import com.dmdirc.commandparser.commands.IntelligentCommand;
import com.dmdirc.ui.input.AdditionalTabTargets;
import com.dmdirc.ui.input.TabCompleter;
import com.dmdirc.ui.interfaces.InputWindow;

import java.util.List;

/**
 * The alias command allows users to create aliases on-the-fly.
 * 
 * @author chris
 */
public final class AliasCommand extends GlobalCommand implements
        IntelligentCommand {

    /**
     * Creates a new instance of Active.
     */
    public AliasCommand() {
        super();
    //#AliasCommand.java:51: method: void com.dmdirc.commandparser.commands.global.AliasCommand.com.dmdirc.commandparser.commands.global.AliasCommand()
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): __Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/addons/urlcatcher/UrlListCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandInfo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandManager.com.dmdirc.ui.input.TabCompletionType.COMMAND
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandManager.commandChar
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandManager.commands
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandManager.parsers
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandType.TYPE_CHANNEL
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandType.TYPE_CHAT
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandType.TYPE_GLOBAL
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandType.TYPE_QUERY
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/CommandType.TYPE_SERVER
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ChannelCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ChatCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/GlobalCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/QueryCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/ServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Ban.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/ChannelSettings.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Cycle.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/KickReason.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Mode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Names.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/Part.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/SetNickColour.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/channel/ShowTopic.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/chat/Me.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Active.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/AllServers.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Clear.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Debug.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Echo.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Exit.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Help.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Ifplugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/LoadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/NewServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Notify.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/OpenWindow.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadActions.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadIdentities.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/ReloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/SaveConfig.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/Set.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/global/UnloadPlugin.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/AllChannels.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Away.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Back.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/ChangeServer.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Ctcp.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Disconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Ignore.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/JoinChannelCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/JoinChannelCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Message.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Nick.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Notice.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/OpenQuery.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/OpenQuery.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Raw.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/RawServerCommand.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Reconnect.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getName()Ljava/lang/String;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/commands/server/Umode.__Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ChannelCommandParser]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/CommandParser]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/GlobalCommandParser]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/QueryCommandParser]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[com/dmdirc/commandparser/parsers/ServerCommandParser]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): com/dmdirc/commandparser/parsers/CommandParser.__Descendant_Table[others]
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): this
    //#input(void com.dmdirc.commandparser.commands.global.AliasCommand()): this.__Tag
    //#output(void com.dmdirc.commandparser.commands.global.AliasCommand()): this.__Tag
    //#pre[1] (void com.dmdirc.commandparser.commands.global.AliasCommand()): init'ed(com/dmdirc/commandparser/CommandManager.commandChar)
    //#post(void com.dmdirc.commandparser.commands.global.AliasCommand()): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.commandparser.commands.global.AliasCommand()): init'ed(this.__Tag)
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:getName
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.util.Map:put
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.util.Map:remove
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:addEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.ui.input.TabCompleter:removeEntry
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.ServerManager:getServerManager
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.ServerManager:getServers
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:getType
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Server:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Server:getChannels
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Server:getChannel
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Channel:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Server:getQueries
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.Query:getTabCompleter
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.util.MapList:containsKey
    //#unanalyzed(void com.dmdirc.commandparser.commands.global.AliasCommand()): Effects-of-calling:com.dmdirc.util.MapList:get

        CommandManager.registerCommand(this);
    }
    //#AliasCommand.java:54: end of method: void com.dmdirc.commandparser.commands.global.AliasCommand.com.dmdirc.commandparser.commands.global.AliasCommand()

    /** {@inheritDoc} */
    @Override
    public void execute(final InputWindow origin, final boolean isSilent,
                        final CommandArguments args) {
        if (args.getArguments().length < 2) {
    //#AliasCommand.java:60: method: void com.dmdirc.commandparser.commands.global.AliasCommand.execute(InputWindow, bool, CommandArguments)
    //#input(void execute(InputWindow, bool, CommandArguments)): "' already exists."._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "' created."._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "' not found."._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "' removed."._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "((\S+\s*){"._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "(\S+\s*){"._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "Alias '"._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "}"._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): "}).*?"._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): args
    //#input(void execute(InputWindow, bool, CommandArguments)): args.__Tag
    //#input(void execute(InputWindow, bool, CommandArguments)): args.line
    //#input(void execute(InputWindow, bool, CommandArguments)): args.line._tainted
    //#input(void execute(InputWindow, bool, CommandArguments)): args.words
    //#input(void execute(InputWindow, bool, CommandArguments)): args.words.length
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[com/dmdirc/commandparser/CommandArguments]
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Descendant_Table[others]
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArguments()[Ljava/lang/String;
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getArgumentsAsString(I)Ljava/lang/String;
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(I)Ljava/lang/String;
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.getWordsAsString(II)Ljava/lang/String;
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandArguments.__Dispatch_Table.parse()V
    //#input(void execute(InputWindow, bool, CommandArguments)): com/dmdirc/commandparser/CommandManager.commandChar
    //#input(void execute(InputWindow, bool, CommandArguments)): isSilent
    //#input(void execute(InputWindow, bool, CommandArguments)): origin
    //#input(void execute(InputWindow, bool, CommandArguments)): this
    //#output(void execute(InputWindow, bool, CommandArguments)): args.words
    //#output(void execute(InputWindow, bool, CommandArguments)): java.lang.String:split(...)._tainted
    //#output(void execute(InputWindow, bool, CommandArguments)): java.lang.String:split(...).length
    //#new obj(void execute(InputWindow, bool, CommandArguments)): java.lang.String:split(...)
    //#pre[1] (void execute(InputWindow, bool, CommandArguments)): args != null
    //#pre[3] (void execute(InputWindow, bool, CommandArguments)): args.__Tag == com/dmdirc/commandparser/CommandArguments
    //#pre[9] (void execute(InputWindow, bool, CommandArguments)): init'ed(args.words)
    //#pre[4] (void execute(InputWindow, bool, CommandArguments)): (soft) args.line != null
    //#pre[7] (void execute(InputWindow, bool, CommandArguments)): (soft) init'ed(com/dmdirc/commandparser/CommandManager.commandChar)
    //#presumption(void execute(InputWindow, bool, CommandArguments)): com.dmdirc.actions.wrappers.Alias:createAction(...)@94 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper(...)@83 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(...)@84 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): com.dmdirc.actions.wrappers.AliasWrapper:iterator(...)@83 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@65 >= 1
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@66 >= 2
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@66 >= 2
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@66 >= 2
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@80 >= 1
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@80 >= 1
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@80 >= 1
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...)[0]@65 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...)[0]@80 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...)[0]@80 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...)[1]@66 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): getArguments(...)[1]@66 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#presumption(void execute(InputWindow, bool, CommandArguments)): java.util.Arrays:copyOfRange(...)@99 != null
    //#post(void execute(InputWindow, bool, CommandArguments)): args.words != null
    //#post(void execute(InputWindow, bool, CommandArguments)): init'ed(java.lang.String:split(...)._tainted)
    //#post(void execute(InputWindow, bool, CommandArguments)): java.lang.String:split(...)._tainted == 0
    //#post(void execute(InputWindow, bool, CommandArguments)): init'ed(java.lang.String:split(...).length)
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.actions.wrappers.AliasWrapper:iterator
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.actions.wrappers.AliasWrapper:getCommandName
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.String:substring
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.String:equalsIgnoreCase
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.actions.Action:delete
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.actions.ActionManager:unregisterAction
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:getCommandChar
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.String:split
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.Arrays:copyOfRange
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:com.dmdirc.ui.interfaces.InputWindow:addLine
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.Character:valueOf
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:compile
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.regex.Pattern:matcher
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:matches
    //#unanalyzed(void execute(InputWindow, bool, CommandArguments)): Effects-of-calling:java.util.regex.Matcher:group
    //#test_vector(void execute(InputWindow, bool, CommandArguments)): getArguments(...).length@60: {2..+Inf}, {0,1}
    //#test_vector(void execute(InputWindow, bool, CommandArguments)): java.lang.String:equalsIgnoreCase(...)@65: {0}, {1}
    //#test_vector(void execute(InputWindow, bool, CommandArguments)): java.lang.String:equalsIgnoreCase(...)@84: {0}, {1}
    //#test_vector(void execute(InputWindow, bool, CommandArguments)): java.util.Iterator:hasNext(...)@83: {0}, {1}
            showUsage(origin, isSilent, "alias", "[--remove] <name> [command]");
            return;
        }

        if (args.getArguments()[0].equalsIgnoreCase("--remove")) {
            final String name = args.getArguments()[1].charAt(0) == CommandManager.getCommandChar()
                ? args.getArguments()[1].substring(1) : args.getArguments()[1];

            if (doRemove(name)) {
                sendLine(origin, isSilent, FORMAT_OUTPUT, "Alias '" + name +
                         "' removed.");
            } else {
                sendLine(origin, isSilent, FORMAT_ERROR, "Alias '" + name +
                         "' not found.");
            }

            return;
        }

        final String name = args.getArguments()[0].charAt(0) == CommandManager.getCommandChar()
                ? args.getArguments()[0].substring(0) : args.getArguments()[0];

        for (Action alias : AliasWrapper.getAliasWrapper()) {
    //#AliasCommand.java:83: Warning: method not available - call not analyzed
    //#    call on AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#AliasCommand.java:83: Warning: method not available - call not analyzed
    //#    call on Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
            if (AliasWrapper.getCommandName(alias).substring(1).equalsIgnoreCase(
    //#AliasCommand.java:84: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
                    name)) {
                sendLine(origin, isSilent, FORMAT_ERROR, "Alias '" + name +
                         "' already exists.");
                return;
            }
        }

        final Alias myAlias = new Alias(name);
    //#AliasCommand.java:92: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.wrappers.Alias(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.actions.wrappers.Alias(String)
        myAlias.setResponse(new String[]{args.getArgumentsAsString(1)});
    //#AliasCommand.java:93: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.wrappers.Alias:setResponse(String[])
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.actions.wrappers.Alias:setResponse(String[])
        myAlias.createAction().save();
    //#AliasCommand.java:94: Warning: method not available - call not analyzed
    //#    call on Action com.dmdirc.actions.wrappers.Alias:createAction()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: Action com.dmdirc.actions.wrappers.Alias:createAction()
    //#AliasCommand.java:94: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.Action:save()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: void execute(InputWindow, bool, CommandArguments)
    //#    unanalyzed callee: void com.dmdirc.actions.Action:save()

        sendLine(origin, isSilent, FORMAT_OUTPUT, "Alias '" + name +
                 "' created.");
    }
    //#AliasCommand.java:98: end of method: void com.dmdirc.commandparser.commands.global.AliasCommand.execute(InputWindow, bool, CommandArguments)

    /**
     * Removes the alias with the specified name.
     * 
     * @param name The name of the alias to remove
     * @return True if the alias was deleted, false otherwise
     */
    private boolean doRemove(final String name) {
        for (Action alias : AliasWrapper.getAliasWrapper()) {
    //#AliasCommand.java:107: method: bool com.dmdirc.commandparser.commands.global.AliasCommand.doRemove(String)
    //#AliasCommand.java:107: Warning: method not available - call not analyzed
    //#    call on AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: bool doRemove(String)
    //#    unanalyzed callee: AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#AliasCommand.java:107: Warning: method not available - call not analyzed
    //#    call on Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: bool doRemove(String)
    //#    unanalyzed callee: Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
    //#input(bool doRemove(String)): name
    //#output(bool doRemove(String)): return_value
    //#presumption(bool doRemove(String)): com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper(...)@107 != null
    //#presumption(bool doRemove(String)): com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(...)@108 != null
    //#presumption(bool doRemove(String)): com.dmdirc.actions.wrappers.AliasWrapper:iterator(...)@107 != null
    //#presumption(bool doRemove(String)): java.util.Iterator:next(...)@107 != null
    //#post(bool doRemove(String)): init'ed(return_value)
    //#test_vector(bool doRemove(String)): java.lang.String:equalsIgnoreCase(...)@108: {0}, {1}
    //#test_vector(bool doRemove(String)): java.util.Iterator:hasNext(...)@107: {0}, {1}
            if (AliasWrapper.getCommandName(alias).substring(1).equalsIgnoreCase(
    //#AliasCommand.java:108: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: bool doRemove(String)
    //#    unanalyzed callee: String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
                    name)) {
                alias.delete();
    //#AliasCommand.java:110: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.Action:delete()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: bool doRemove(String)
    //#    unanalyzed callee: void com.dmdirc.actions.Action:delete()
                ActionManager.unregisterAction(alias);
    //#AliasCommand.java:111: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.actions.ActionManager:unregisterAction(Action)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: bool doRemove(String)
    //#    unanalyzed callee: void com.dmdirc.actions.ActionManager:unregisterAction(Action)

                return true;
            }
        }

        return false;
    //#AliasCommand.java:117: end of method: bool com.dmdirc.commandparser.commands.global.AliasCommand.doRemove(String)
    }

    /** {@inheritDoc} */
    @Override
    public String getName() {
        return "alias";
    //#AliasCommand.java:123: method: String com.dmdirc.commandparser.commands.global.AliasCommand.getName()
    //#output(String getName()): return_value
    //#post(String getName()): return_value == &"alias"
    //#AliasCommand.java:123: end of method: String com.dmdirc.commandparser.commands.global.AliasCommand.getName()
    }

    /** {@inheritDoc} */
    @Override
    public boolean showInHelp() {
        return true;
    //#AliasCommand.java:129: method: bool com.dmdirc.commandparser.commands.global.AliasCommand.showInHelp()
    //#output(bool showInHelp()): return_value
    //#post(bool showInHelp()): return_value == 1
    //#AliasCommand.java:129: end of method: bool com.dmdirc.commandparser.commands.global.AliasCommand.showInHelp()
    }

    /** {@inheritDoc} */
    @Override
    public String getHelp() {
        return "alias [--remove] <name> [command] - creates or removes the specified alias";
    //#AliasCommand.java:135: method: String com.dmdirc.commandparser.commands.global.AliasCommand.getHelp()
    //#output(String getHelp()): return_value
    //#post(String getHelp()): return_value == &"alias [--remove] <name> [command] - creates or removes the specified alias"
    //#AliasCommand.java:135: end of method: String com.dmdirc.commandparser.commands.global.AliasCommand.getHelp()
    }

    /** {@inheritDoc} */
    @Override
    public AdditionalTabTargets getSuggestions(final int arg,
                                               final List<String> previousArgs) {
        final AdditionalTabTargets res = new AdditionalTabTargets().excludeAll();
    //#AliasCommand.java:142: method: AdditionalTabTargets com.dmdirc.commandparser.commands.global.AliasCommand.getSuggestions(int, List)
    //#AliasCommand.java:142: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.ui.input.AdditionalTabTargets()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: void com.dmdirc.ui.input.AdditionalTabTargets()
    //#AliasCommand.java:142: Warning: method not available - call not analyzed
    //#    call on AdditionalTabTargets com.dmdirc.ui.input.AdditionalTabTargets:excludeAll()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: AdditionalTabTargets com.dmdirc.ui.input.AdditionalTabTargets:excludeAll()
    //#input(AdditionalTabTargets getSuggestions(int, List)): arg
    //#input(AdditionalTabTargets getSuggestions(int, List)): previousArgs
    //#output(AdditionalTabTargets getSuggestions(int, List)): return_value
    //#pre[2] (AdditionalTabTargets getSuggestions(int, List)): (soft) previousArgs != null
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper(...)@147 != null
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): com.dmdirc.actions.wrappers.AliasWrapper:iterator(...)@147 != null
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): com.dmdirc.ui.input.AdditionalTabTargets:excludeAll(...)@142 != null
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): java.util.List:get(...)@146 != null
    //#presumption(AdditionalTabTargets getSuggestions(int, List)): java.util.List:get(...)@150 != null
    //#post(AdditionalTabTargets getSuggestions(int, List)): init'ed(return_value)
    //#test_vector(AdditionalTabTargets getSuggestions(int, List)): arg: {-2_147_483_648..-1}, {0}, {1}
    //#test_vector(AdditionalTabTargets getSuggestions(int, List)): java.lang.String:equals(...)@146: {0}, {1}
    //#test_vector(AdditionalTabTargets getSuggestions(int, List)): java.lang.String:equals(...)@150: {1}, {0}

        if (arg == 0) {
            res.add("--remove");
    //#AliasCommand.java:145: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.ui.input.AdditionalTabTargets:add(Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: bool com.dmdirc.ui.input.AdditionalTabTargets:add(Object)
        } else if (arg == 1 && previousArgs.get(0).equals("--remove")) {
            for (Action alias : AliasWrapper.getAliasWrapper()) {
    //#AliasCommand.java:147: Warning: method not available - call not analyzed
    //#    call on AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: AliasWrapper com.dmdirc.actions.wrappers.AliasWrapper:getAliasWrapper()
    //#AliasCommand.java:147: Warning: method not available - call not analyzed
    //#    call on Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: Iterator com.dmdirc.actions.wrappers.AliasWrapper:iterator()
                res.add(AliasWrapper.getCommandName(alias));
    //#AliasCommand.java:148: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: String com.dmdirc.actions.wrappers.AliasWrapper:getCommandName(Action)
    //#AliasCommand.java:148: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.ui.input.AdditionalTabTargets:add(Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: bool com.dmdirc.ui.input.AdditionalTabTargets:add(Object)
            }
        } else if (arg >= 1 && !previousArgs.get(0).equals("--remove")) {
            return TabCompleter.getIntelligentResults(arg, previousArgs, 1);
    //#AliasCommand.java:151: Warning: method not available - call not analyzed
    //#    call on AdditionalTabTargets com.dmdirc.ui.input.TabCompleter:getIntelligentResults(int, List, int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.commandparser.commands.global.AliasCommand
    //#    method: AdditionalTabTargets getSuggestions(int, List)
    //#    unanalyzed callee: AdditionalTabTargets com.dmdirc.ui.input.TabCompleter:getIntelligentResults(int, List, int)
        }

        return res;
    //#AliasCommand.java:154: end of method: AdditionalTabTargets com.dmdirc.commandparser.commands.global.AliasCommand.getSuggestions(int, List)
    }

}
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand]
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.doRemove(Ljava/lang/String;)Z
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.execute(Lcom/dmdirc/ui/interfaces/InputWindow;ZLcom/dmdirc/commandparser/CommandArguments;)V
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getHelp()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets;
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType;
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.sendLine(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;[Ljava/lang/Object;)V
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.showInHelp()Z
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand]
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand]
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/GlobalCommand.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand]
    //#output(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand]
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/CommandInfo.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/Command.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/GlobalCommand.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): com/dmdirc/commandparser/commands/IntelligentCommand.__Descendant_Table[com/dmdirc/commandparser/commands/global/AliasCommand] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.doRemove(Ljava/lang/String;)Z == &doRemove
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.execute(Lcom/dmdirc/ui/interfaces/InputWindow;ZLcom/dmdirc/commandparser/CommandArguments;)V == &execute
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getHelp()Ljava/lang/String; == &getHelp
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &getName
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getSuggestions(ILjava/util/List;)Lcom/dmdirc/ui/input/AdditionalTabTargets; == &getSuggestions
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.getType()Lcom/dmdirc/commandparser/CommandType; == &com/dmdirc/commandparser/commands/GlobalCommand.getType
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__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.global.AliasCommand__static_init): __Dispatch_Table.showInHelp()Z == &showInHelp
    //#post(com.dmdirc.commandparser.commands.global.AliasCommand__static_init): __Dispatch_Table.showUsage(Lcom/dmdirc/ui/interfaces/InputWindow;ZLjava/lang/String;Ljava/lang/String;)V == &com/dmdirc/commandparser/commands/Command.showUsage
    //#AliasCommand.java:: end of method: com.dmdirc.commandparser.commands.global.AliasCommand.com.dmdirc.commandparser.commands.global.AliasCommand__static_init
    //#AliasCommand.java:: end of class: com.dmdirc.commandparser.commands.global.AliasCommand
