//# 4 errors, 276 messages
//#
/*
    //#ProcessNickInUse.java:1:1: class: com.dmdirc.parser.irc.ProcessNickInUse
    //#ProcessNickInUse.java:1:1: method: com.dmdirc.parser.irc.ProcessNickInUse.com.dmdirc.parser.irc.ProcessNickInUse__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.parser.irc;

/**
 * Process a NickInUse message.
 * Parser implements handling of this if Pre-001 and no other handler found,
 * adding the NickInUse handler (addNickInUse) after 001 is prefered over before.<br><br>
 * <br>
 * If the first nickname is in use, and a NickInUse message is recieved before 001, we
 * will attempt to use the altnickname instead.<br>
 * If this also fails, we will start prepending _ (or the value of me.cPrepend) to the main nickname.
 */
public class ProcessNickInUse extends IRCProcessor {
	/**
	 * Process a NickInUse message.
	 * Parser implements handling of this if Pre-001 and no other handler found,
	 * adding the NickInUse handler (addNickInUse) after 001 is prefered over before.<br><br>
	 * <br>
	 * If the first nickname is in use, and a NickInUse message is recieved before 001, we
	 * will attempt to use the altnickname instead.<br>
	 * If this also fails, we will start prepending _ (or the value of me.cPrepend) to the main nickname.
	 *
	 * @param sParam Type of line to process ("433")
	 * @param token IRCTokenised line to process
	 */
	@Override
	public void process(final String sParam, final String[] token) {
		if (!callNickInUse(token[3])) {
    //#ProcessNickInUse.java:49: method: void com.dmdirc.parser.irc.ProcessNickInUse.process(String, String[])
    //#input(void process(String, String[])): " for mode "._tainted
    //#input(void process(String, String[])): "Callback not found: "._tainted
    //#input(void process(String, String[])): "Intercepted mode request for "._tainted
    //#input(void process(String, String[])): "NICK "._tainted
    //#input(void process(String, String[])): "OnDataOut"._tainted
    //#input(void process(String, String[])): "OnDebugInfo"._tainted
    //#input(void process(String, String[])): "OnNickInUse"._tainted
    //#input(void process(String, String[])): __Descendant_Table[com/dmdirc/parser/irc/ProcessNickInUse]
    //#input(void process(String, String[])): __Descendant_Table[others]
    //#input(void process(String, String[])): __Dispatch_Table.callNickInUse(Ljava/lang/String;)Z
    //#input(void process(String, String[])): com/dmdirc/parser/irc/ChannelInfo.__Descendant_Table[com/dmdirc/parser/irc/ChannelInfo]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/ChannelInfo.__Descendant_Table[others]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/ChannelInfo.__Dispatch_Table.getListModeQueue()Ljava/util/Queue;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Descendant_Table[com/dmdirc/parser/irc/IRCParser]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Descendant_Table[others]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.callDataOut(Ljava/lang/String;Z)Z
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.callDebugInfo(ILjava/lang/String;)Z
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.doSendString(Ljava/lang/String;Z)V
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.getCallbackManager()Lcom/dmdirc/parser/irc/callbacks/CallbackManager;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.getChannelInfo(Ljava/lang/String;)Lcom/dmdirc/parser/irc/ChannelInfo;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.getIRCStringConverter()Lcom/dmdirc/parser/irc/IRCStringConverter;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.getSocketState()Lcom/dmdirc/parser/irc/SocketState;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.sendString(Ljava/lang/String;)V
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.setNickname(Ljava/lang/String;)V
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCStringConverter.__Descendant_Table[com/dmdirc/parser/irc/IRCStringConverter]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCStringConverter.__Descendant_Table[others]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCStringConverter.__Dispatch_Table.equalsIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z
    //#input(void process(String, String[])): com/dmdirc/parser/irc/IRCStringConverter.__Dispatch_Table.toLowerCase(Ljava/lang/String;)Ljava/lang/String;
    //#input(void process(String, String[])): com/dmdirc/parser/irc/SocketState.OPEN
    //#input(void process(String, String[])): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[com/dmdirc/parser/irc/callbacks/CallbackObjectSpecific]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[com/dmdirc/parser/irc/callbacks/CallbackObject]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[others]
    //#input(void process(String, String[])): com/dmdirc/parser/irc/callbacks/CallbackObject.__Dispatch_Table.call([Ljava/lang/Object;)Z
    //#input(void process(String, String[])): com/dmdirc/parser/irc/callbacks/CallbackObjectSpecific.__Dispatch_Table.call([Ljava/lang/Object;)Z
    //#input(void process(String, String[])): this
    //#input(void process(String, String[])): this.__Tag
    //#input(void process(String, String[])): this.myParser
    //#input(void process(String, String[])): this.myParser.__Tag
    //#input(void process(String, String[])): this.myParser.cMyself
    //#input(void process(String, String[])): this.myParser.cMyself.bIsFake
    //#input(void process(String, String[])): this.myParser.cMyself.sNickname
    //#input(void process(String, String[])): this.myParser.currentSocketState
    //#input(void process(String, String[])): this.myParser.got001
    //#input(void process(String, String[])): this.myParser.hChanModesOther
    //#input(void process(String, String[])): this.myParser.hChannelList
    //#input(void process(String, String[])): this.myParser.me
    //#input(void process(String, String[])): this.myParser.me.altNickname
    //#input(void process(String, String[])): this.myParser.me.altNickname._tainted
    //#input(void process(String, String[])): this.myParser.me.nickname
    //#input(void process(String, String[])): this.myParser.me.nickname._tainted
    //#input(void process(String, String[])): this.myParser.me.prependChar
    //#input(void process(String, String[])): this.myParser.myCallbackManager
    //#input(void process(String, String[])): this.myParser.myCallbackManager.callbackHash
    //#input(void process(String, String[])): this.myParser.out
    //#input(void process(String, String[])): this.myParser.sThinkNickname
    //#input(void process(String, String[])): this.myParser.sThinkNickname._tainted
    //#input(void process(String, String[])): this.myParser.stringConverter
    //#input(void process(String, String[])): this.myParser.stringConverter.__Tag
    //#input(void process(String, String[])): this.myParser.stringConverter.lowercase
    //#input(void process(String, String[])): this.myParser.stringConverter.lowercase.length
    //#input(void process(String, String[])): this.myParser.stringConverter.lowercase[0..65_535]
    //#input(void process(String, String[])): this.myParser.triedAlt
    //#input(void process(String, String[])): token
    //#input(void process(String, String[])): token.length
    //#input(void process(String, String[])): token[3]
    //#output(void process(String, String[])): java.lang.String:substring(...)._tainted
    //#output(void process(String, String[])): java.lang.StringBuilder:toString(...)._tainted
    //#output(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1) num objects
    //#output(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1).__Tag
    //#output(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1).limit
    //#output(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1).lowercase
    //#output(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1).uppercase
    //#output(void process(String, String[])): new char[](IRCStringConverter#1) num objects
    //#output(void process(String, String[])): new char[](IRCStringConverter#1).length
    //#output(void process(String, String[])): new char[](IRCStringConverter#1)[0..65_535]
    //#output(void process(String, String[])): new char[](IRCStringConverter#2) num objects
    //#output(void process(String, String[])): new char[](IRCStringConverter#2).length
    //#output(void process(String, String[])): new char[](IRCStringConverter#2)[0..65_567]
    //#output(void process(String, String[])): this.myParser.cMyself.myAwayReason
    //#output(void process(String, String[])): this.myParser.me.nickname
    //#output(void process(String, String[])): this.myParser.sThinkNickname
    //#output(void process(String, String[])): this.myParser.stringConverter
    //#output(void process(String, String[])): this.myParser.triedAlt
    //#new obj(void process(String, String[])): java.lang.String:substring(...)
    //#new obj(void process(String, String[])): java.lang.StringBuilder:toString(...)
    //#new obj(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1)
    //#new obj(void process(String, String[])): new char[](IRCStringConverter#1)
    //#new obj(void process(String, String[])): new char[](IRCStringConverter#2)
    //#pre[7] (void process(String, String[])): this.__Tag == com/dmdirc/parser/irc/ProcessNickInUse
    //#pre[27] (void process(String, String[])): token != null
    //#pre[28] (void process(String, String[])): token.length >= 4
    //#pre[29] (void process(String, String[])): init'ed(token[3])
    //#pre[2] (void process(String, String[])): (soft) init'ed(this.myParser.me.nickname)
    //#pre[3] (void process(String, String[])): (soft) init'ed(this.myParser.sThinkNickname)
    //#pre[4] (void process(String, String[])): (soft) init'ed(this.myParser.stringConverter)
    //#pre[5] (void process(String, String[])): (soft) init'ed(this.myParser.triedAlt)
    //#pre[8] (void process(String, String[])): (soft) this.myParser != null
    //#pre[9] (void process(String, String[])): (soft) this.myParser.__Tag == com/dmdirc/parser/irc/IRCParser
    //#pre[10] (void process(String, String[])): (soft) this.myParser.cMyself != null
    //#pre[11] (void process(String, String[])): (soft) init'ed(this.myParser.cMyself.bIsFake)
    //#pre[12] (void process(String, String[])): (soft) this.myParser.cMyself.sNickname != null
    //#pre[13] (void process(String, String[])): (soft) init'ed(this.myParser.currentSocketState)
    //#pre[14] (void process(String, String[])): (soft) init'ed(this.myParser.got001)
    //#pre[15] (void process(String, String[])): (soft) this.myParser.hChanModesOther != null
    //#pre[16] (void process(String, String[])): (soft) this.myParser.hChannelList != null
    //#pre[18] (void process(String, String[])): (soft) this.myParser.me != null
    //#pre[19] (void process(String, String[])): (soft) init'ed(this.myParser.me.altNickname)
    //#pre[22] (void process(String, String[])): (soft) init'ed(this.myParser.me.prependChar)
    //#pre[23] (void process(String, String[])): (soft) this.myParser.myCallbackManager != null
    //#pre[24] (void process(String, String[])): (soft) this.myParser.myCallbackManager.callbackHash != null
    //#pre[25] (void process(String, String[])): (soft) init'ed(this.myParser.out)
    //#presumption(void process(String, String[])): getIRCStringConverter(...).__Tag == com/dmdirc/parser/irc/IRCStringConverter
    //#presumption(void process(String, String[])): getIRCStringConverter(...).lowercase != null
    //#presumption(void process(String, String[])): getIRCStringConverter(...).lowercase.length >= 1
    //#post(void process(String, String[])): init'ed(java.lang.String:substring(...)._tainted)
    //#post(void process(String, String[])): init'ed(java.lang.StringBuilder:toString(...)._tainted)
    //#post(void process(String, String[])): possibly_updated(this.myParser.cMyself.myAwayReason)
    //#post(void process(String, String[])): this.myParser.me.nickname == One-of{old this.myParser.me.nickname, &java.lang.StringBuilder:toString(...), this.myParser.me.altNickname}
    //#post(void process(String, String[])): init'ed(this.myParser.me.nickname)
    //#post(void process(String, String[])): this.myParser.sThinkNickname == One-of{old this.myParser.sThinkNickname, old this.myParser.me.nickname, &java.lang.StringBuilder:toString(...), this.myParser.me.altNickname}
    //#post(void process(String, String[])): init'ed(this.myParser.sThinkNickname)
    //#post(void process(String, String[])): init'ed(this.myParser.stringConverter)
    //#post(void process(String, String[])): init'ed(this.myParser.triedAlt)
    //#post(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1) num objects <= 1
    //#post(void process(String, String[])): new IRCStringConverter(getIRCStringConverter#1) num objects == 0
    //#post(void process(String, String[])): init'ed(new IRCStringConverter(getIRCStringConverter#1).__Tag)
    //#post(void process(String, String[])): init'ed(new IRCStringConverter(getIRCStringConverter#1).limit)
    //#post(void process(String, String[])): init'ed(new IRCStringConverter(getIRCStringConverter#1).lowercase)
    //#post(void process(String, String[])): init'ed(new IRCStringConverter(getIRCStringConverter#1).uppercase)
    //#post(void process(String, String[])): new char[](IRCStringConverter#1) num objects <= 1
    //#post(void process(String, String[])): new char[](IRCStringConverter#1) num objects == 0
    //#post(void process(String, String[])): init'ed(new char[](IRCStringConverter#1).length)
    //#post(void process(String, String[])): init'ed(new char[](IRCStringConverter#1)[0..65_535])
    //#post(void process(String, String[])): possibly_updated(new char[](IRCStringConverter#1)[0..65_535])
    //#post(void process(String, String[])): new char[](IRCStringConverter#2) num objects <= 1
    //#post(void process(String, String[])): new char[](IRCStringConverter#2) num objects == 0
    //#post(void process(String, String[])): init'ed(new char[](IRCStringConverter#2).length)
    //#post(void process(String, String[])): possibly_updated(new char[](IRCStringConverter#2)[0..65_567])
    //#unanalyzed(void process(String, String[])): Effects-of-calling:getCallbackManager
    //#unanalyzed(void process(String, String[])): Effects-of-calling:getCallbackType
    //#unanalyzed(void process(String, String[])): Effects-of-calling:call
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:toCharArray
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:length
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.RuntimeException
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.Map:get
    //#unanalyzed(void process(String, String[])): Effects-of-calling:callDebugInfo
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:indexOf
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:substring
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:split
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:equalsIgnoreCase
    //#unanalyzed(void process(String, String[])): Effects-of-calling:isFake
    //#unanalyzed(void process(String, String[])): Effects-of-calling:getNickname
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.Character:valueOf
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.Byte:byteValue
    //#unanalyzed(void process(String, String[])): Effects-of-calling:doSendString
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.Boolean:valueOf
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:charAt
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.Integer:valueOf
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.String:isEmpty
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.io.PrintWriter:printf
    //#unanalyzed(void process(String, String[])): Effects-of-calling:setAwayReason
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.LinkedList
    //#unanalyzed(void process(String, String[])): Effects-of-calling:getListModeQueue
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.LinkedList:contains
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.Queue:offer
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.util.LinkedList:offer
    //#unanalyzed(void process(String, String[])): Effects-of-calling:java.lang.System:currentTimeMillis
    //#test_vector(void process(String, String[])): this.myParser.triedAlt: {0}, {1}
    //#test_vector(void process(String, String[])): this.myParser.got001: {1}, {0}
    //#test_vector(void process(String, String[])): call(...)@76: {1}, {0}
			// Manually handle nick in use.
			callDebugInfo(IRCParser.DEBUG_INFO,"No Nick in use Handler.");
			if (!myParser.got001) {
				callDebugInfo(IRCParser.DEBUG_INFO,"Using inbuilt handler");
				// If this is before 001 we will try and get a nickname, else we will leave the nick as-is
				if (myParser.triedAlt) {
					if (myParser.getIRCStringConverter().equalsIgnoreCase(myParser.sThinkNickname, myParser.me.getAltNickname())) {
    //#ProcessNickInUse.java:56: ?precondition failure
    //#    com/dmdirc/parser/irc/IRCStringConverter.equalsIgnoreCase: (soft) init'ed(this.lowercase[0..65_535])
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.parser.irc.ProcessNickInUse
    //#    method: void process(String, String[])
    //#    basic block: bb_4
    //#    assertion: (soft) init'ed(getIRCStringConverter(...).lowercase[0..65_535])
    //#    callee: bool com/dmdirc/parser/irc/IRCStringConverter.equalsIgnoreCase(String, String)
    //#    callee assertion: (soft) init'ed(this.lowercase[0..65_535])
    //#    callee file: IRCStringConverter.java
    //#    callee precondition index: [13]
    //#    callee srcpos: 123
    //#    VN: getIRCStringConverter(...).lowercase[0..65_535]
    //#    Expected: {0..65_535}
    //#    Bad: {Invalid}
    //#    Attribs:  Int  Soft  Bad only invalid
						myParser.sThinkNickname = myParser.me.getNickname();
					}
					myParser.setNickname(myParser.me.getPrependChar()+myParser.sThinkNickname);
				} else {
					myParser.setNickname(myParser.me.getAltNickname());
					myParser.triedAlt = true; 
				}
			}
		}
	}
    //#ProcessNickInUse.java:66: end of method: void com.dmdirc.parser.irc.ProcessNickInUse.process(String, String[])
	
	/**
	 * Callback to all objects implementing the NickInUse Callback.
	 *
	 * @param nickname Nickname that was wanted.
	 * @see INickInUse
	 * @return true if a method was called, false otherwise
	 */
	protected boolean callNickInUse(final String nickname) {
		return getCallbackManager().getCallbackType("OnNickInUse").call(nickname);
    //#ProcessNickInUse.java:76: method: bool com.dmdirc.parser.irc.ProcessNickInUse.callNickInUse(String)
    //#ProcessNickInUse.java:76: ?null dereference
    //#    getCallbackType(...) != null
    //#    severity: MEDIUM
    //#    class: com.dmdirc.parser.irc.ProcessNickInUse
    //#    method: bool callNickInUse(String)
    //#    basic block: Entry_BB_1
    //#    assertion: getCallbackType(...) != null
    //#    VN: getCallbackType(...)
    //#    Expected: Inverse{null}
    //#    Bad: Addr_Set{null}
    //#    Attribs:  Ptr  null in Bad
    //#ProcessNickInUse.java:76: ?use of default init
    //#    init'ed(getCallbackType(...).__Tag)
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.parser.irc.ProcessNickInUse
    //#    method: bool callNickInUse(String)
    //#    basic block: Entry_BB_1
    //#    assertion: init'ed(getCallbackType(...).__Tag)
    //#    VN: getCallbackType(...).__Tag
    //#    Expected: {-Inf..+Inf}
    //#    Bad: {Invalid}
    //#    Attribs:  Int  Bad only invalid
    //#ProcessNickInUse.java:76: ?null dereference
    //#    com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[getCallbackType(...).__Tag] != null
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.parser.irc.ProcessNickInUse
    //#    method: bool callNickInUse(String)
    //#    basic block: Entry_BB_1
    //#    assertion: com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[getCallbackType(...).__Tag] != null
    //#    VN: com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[getCallbackType(...).__Tag]
    //#    Expected: Inverse{null}
    //#    Bad: Addr_Set{null}
    //#    Attribs:  Ptr  null in Bad
    //#ProcessNickInUse.java:76: Warning: call too complex - analysis skipped
    //#    call on bool call(Object[])
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.parser.irc.ProcessNickInUse
    //#    method: bool callNickInUse(String)
    //#    unanalyzed callee: bool call(Object[])
    //#input(bool callNickInUse(String)): "Callback not found: "._tainted
    //#input(bool callNickInUse(String)): "OnNickInUse"._tainted
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/IRCParser.__Descendant_Table[com/dmdirc/parser/irc/IRCParser]
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/IRCParser.__Descendant_Table[others]
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/IRCParser.__Dispatch_Table.getCallbackManager()Lcom/dmdirc/parser/irc/callbacks/CallbackManager;
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[com/dmdirc/parser/irc/callbacks/CallbackObjectSpecific]
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[com/dmdirc/parser/irc/callbacks/CallbackObject]
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/callbacks/CallbackObject.__Descendant_Table[others]
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/callbacks/CallbackObject.__Dispatch_Table.call([Ljava/lang/Object;)Z
    //#input(bool callNickInUse(String)): com/dmdirc/parser/irc/callbacks/CallbackObjectSpecific.__Dispatch_Table.call([Ljava/lang/Object;)Z
    //#input(bool callNickInUse(String)): nickname
    //#input(bool callNickInUse(String)): this
    //#input(bool callNickInUse(String)): this.myParser
    //#input(bool callNickInUse(String)): this.myParser.__Tag
    //#input(bool callNickInUse(String)): this.myParser.myCallbackManager
    //#input(bool callNickInUse(String)): this.myParser.myCallbackManager.callbackHash
    //#output(bool callNickInUse(String)): return_value
    //#pre[3] (bool callNickInUse(String)): this.myParser != null
    //#pre[4] (bool callNickInUse(String)): this.myParser.__Tag == com/dmdirc/parser/irc/IRCParser
    //#pre[5] (bool callNickInUse(String)): this.myParser.myCallbackManager != null
    //#pre[6] (bool callNickInUse(String)): this.myParser.myCallbackManager.callbackHash != null
    //#presumption(bool callNickInUse(String)): getCallbackManager(...)@76 init'ed
    //#post(bool callNickInUse(String)): init'ed(return_value)
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:getCallbackManager
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.util.Map:containsKey
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.lang.String:toLowerCase
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.lang.RuntimeException
    //#unanalyzed(bool callNickInUse(String)): Effects-of-calling:java.util.Map:get
    //#ProcessNickInUse.java:76: end of method: bool com.dmdirc.parser.irc.ProcessNickInUse.callNickInUse(String)
	}
	
	/**
	 * What does this IRCProcessor handle.
	 *
	 * @return String[] with the names of the tokens we handle.
	 */
	@Override
	public String[] handles() {
		return new String[]{"433"};
    //#ProcessNickInUse.java:86: method: String[] com.dmdirc.parser.irc.ProcessNickInUse.handles()
    //#output(String[] handles()): new String[](handles#1) num objects
    //#output(String[] handles()): return_value.length
    //#output(String[] handles()): return_value[0]
    //#output(String[] handles()): return_value
    //#new obj(String[] handles()): new String[](handles#1)
    //#post(String[] handles()): return_value == &new String[](handles#1)
    //#post(String[] handles()): new String[](handles#1) num objects == 1
    //#post(String[] handles()): return_value.length == 1
    //#post(String[] handles()): return_value[0] == &"433"
    //#ProcessNickInUse.java:86: end of method: String[] com.dmdirc.parser.irc.ProcessNickInUse.handles()
	}
	
	/**
	 * Create a new instance of the ProcessNickInUse Object.
	 *
	 * @param parser IRCParser That owns this object
	 * @param manager ProcessingManager that is in charge of this object
	 */
	protected ProcessNickInUse (final IRCParser parser, final ProcessingManager manager) { super(parser, manager); }
    //#ProcessNickInUse.java:95: method: void com.dmdirc.parser.irc.ProcessNickInUse.com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)
    //#input(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): manager
    //#input(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): parser
    //#input(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): this
    //#output(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): this.myManager
    //#output(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): this.myParser
    //#post(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): this.myManager == manager
    //#post(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): init'ed(this.myManager)
    //#post(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): this.myParser == parser
    //#post(void com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)): init'ed(this.myParser)
    //#ProcessNickInUse.java:95: end of method: void com.dmdirc.parser.irc.ProcessNickInUse.com.dmdirc.parser.irc.ProcessNickInUse(IRCParser, ProcessingManager)

}
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Descendant_Table[com/dmdirc/parser/irc/ProcessNickInUse]
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callDebugInfo(ILjava/lang/String;)Z
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callDebugInfo(ILjava/lang/String;[Ljava/lang/Object;)Z
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callErrorInfo(Lcom/dmdirc/parser/irc/ParserError;)Z
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callNickInUse(Ljava/lang/String;)Z
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getCallbackManager()Lcom/dmdirc/parser/irc/callbacks/CallbackManager;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getChannelInfo(Ljava/lang/String;)Lcom/dmdirc/parser/irc/ChannelInfo;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getClientInfo(Ljava/lang/String;)Lcom/dmdirc/parser/irc/ClientInfo;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getLowerName()Ljava/lang/String;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getName()Ljava/lang/String;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.handles()[Ljava/lang/String;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.isValidChannelName(Ljava/lang/String;)Z
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.process(Ljava/lang/String;[Ljava/lang/String;)V
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.sendString(Ljava/lang/String;)V
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.toString()Ljava/lang/String;
    //#output(com.dmdirc.parser.irc.ProcessNickInUse__static_init): com/dmdirc/parser/irc/IRCProcessor.__Descendant_Table[com/dmdirc/parser/irc/ProcessNickInUse]
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Descendant_Table[com/dmdirc/parser/irc/ProcessNickInUse] == &__Dispatch_Table
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): com/dmdirc/parser/irc/IRCProcessor.__Descendant_Table[com/dmdirc/parser/irc/ProcessNickInUse] == &__Dispatch_Table
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callDebugInfo(ILjava/lang/String;)Z == &com/dmdirc/parser/irc/IRCProcessor.callDebugInfo
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callDebugInfo(ILjava/lang/String;[Ljava/lang/Object;)Z == &com/dmdirc/parser/irc/IRCProcessor.callDebugInfo
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callErrorInfo(Lcom/dmdirc/parser/irc/ParserError;)Z == &com/dmdirc/parser/irc/IRCProcessor.callErrorInfo
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.callNickInUse(Ljava/lang/String;)Z == &callNickInUse
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getCallbackManager()Lcom/dmdirc/parser/irc/callbacks/CallbackManager; == &com/dmdirc/parser/irc/IRCProcessor.getCallbackManager
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getChannelInfo(Ljava/lang/String;)Lcom/dmdirc/parser/irc/ChannelInfo; == &com/dmdirc/parser/irc/IRCProcessor.getChannelInfo
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getClientInfo(Ljava/lang/String;)Lcom/dmdirc/parser/irc/ClientInfo; == &com/dmdirc/parser/irc/IRCProcessor.getClientInfo
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getLowerName()Ljava/lang/String; == &com/dmdirc/parser/irc/IRCProcessor.getLowerName
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.getName()Ljava/lang/String; == &com/dmdirc/parser/irc/IRCProcessor.getName
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.handles()[Ljava/lang/String; == &handles
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.isValidChannelName(Ljava/lang/String;)Z == &com/dmdirc/parser/irc/IRCProcessor.isValidChannelName
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.process(Ljava/lang/String;[Ljava/lang/String;)V == &process
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.sendString(Ljava/lang/String;)V == &com/dmdirc/parser/irc/IRCProcessor.sendString
    //#post(com.dmdirc.parser.irc.ProcessNickInUse__static_init): __Dispatch_Table.toString()Ljava/lang/String; == &com/dmdirc/parser/irc/IRCProcessor.toString
    //#ProcessNickInUse.java:: end of method: com.dmdirc.parser.irc.ProcessNickInUse.com.dmdirc.parser.irc.ProcessNickInUse__static_init
    //#ProcessNickInUse.java:: end of class: com.dmdirc.parser.irc.ProcessNickInUse
