//# 0 errors, 187 messages
//#
/*
    //#NicklistListModel.java:1:1: class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#NicklistListModel.java:1:1: method: com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel__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.addons.ui_swing.components;

import com.dmdirc.config.IdentityManager;
import com.dmdirc.interfaces.ConfigChangeListener;
import com.dmdirc.parser.irc.ChannelClientInfo;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import javax.swing.AbstractListModel;

/** Stores and provides means to modify nicklist data for a channel. */
public final class NicklistListModel extends AbstractListModel implements ConfigChangeListener {
    //#NicklistListModel.java:36: method: Object com.dmdirc.addons.ui_swing.components.NicklistListModel.getElementAt(int)
    //#input(Object getElementAt(int)): this
    //#input(Object getElementAt(int)): this.nicknames
    //#input(Object getElementAt(int)): x0
    //#output(Object getElementAt(int)): return_value
    //#pre[2] (Object getElementAt(int)): this.nicknames != null
    //#post(Object getElementAt(int)): init'ed(return_value)
    //#unanalyzed(Object getElementAt(int)): Effects-of-calling:java.util.List:get
    //#NicklistListModel.java:36: end of method: Object com.dmdirc.addons.ui_swing.components.NicklistListModel.getElementAt(int)

    /**
     * A version number for this class. It should be changed whenever the class
     * structure is changed (or anything else that would prevent serialized
     * objects being unserialized with the new class).
     */
    private static final long serialVersionUID = 1;
    /** stores the nicknames to be shown in this list. */
    private final List<ChannelClientInfo> nicknames;
    /** Sort by mode? */
    private boolean sortByMode;
    /** Sort by case? */
    private boolean sortByCase;

    /** Creates a new empty model. */
    public NicklistListModel() {
        this(Collections.synchronizedList(new ArrayList<ChannelClientInfo>()));
    //#NicklistListModel.java:53: method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel()
    //#input(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): this
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): this.nicknames
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): this.sortByCase
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): this.sortByMode
    //#presumption(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): java.util.Collections:synchronizedList(...)@67 != null
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): this.nicknames != null
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): init'ed(this.sortByCase)
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): init'ed(this.sortByMode)
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:java.util.List:size
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:java.util.Collections:sort
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:javax.swing.AbstractListModel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:com.dmdirc.config.IdentityManager:getGlobalConfig
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:com.dmdirc.config.ConfigManager:getOptionBool
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel()): Effects-of-calling:java.util.Collections:synchronizedList
    }
    //#NicklistListModel.java:54: end of method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel()

    /**
     * Creates a new model and initiliases it with the data provided.
     * @param newNicknames list of nicknames used for initialisation
     */
    public NicklistListModel(final List<ChannelClientInfo> newNicknames) {
        super();
    //#NicklistListModel.java:61: method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel(List)
    //#input(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): newNicknames
    //#input(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): this
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): this.nicknames
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): this.sortByCase
    //#output(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): this.sortByMode
    //#presumption(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): com.dmdirc.config.IdentityManager:getGlobalConfig(...)@63 != null
    //#presumption(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): com.dmdirc.config.IdentityManager:getGlobalConfig(...)@65 != null
    //#presumption(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): java.util.Collections:synchronizedList(...)@67 != null
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): this.nicknames != null
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): init'ed(this.sortByCase)
    //#post(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): init'ed(this.sortByMode)
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): Effects-of-calling:java.util.List:size
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): Effects-of-calling:java.util.Collections:sort
    //#unanalyzed(void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
        
        sortByMode = IdentityManager.getGlobalConfig().
    //#NicklistListModel.java:63: Warning: method not available - call not analyzed
    //#    call on ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)
    //#    unanalyzed callee: ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#NicklistListModel.java:63: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
                getOptionBool("nicklist", "sortByMode");
        sortByCase = IdentityManager.getGlobalConfig().
    //#NicklistListModel.java:65: Warning: method not available - call not analyzed
    //#    call on ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)
    //#    unanalyzed callee: ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#NicklistListModel.java:65: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void com.dmdirc.addons.ui_swing.components.NicklistListModel(List)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
                getOptionBool("nicklist", "sortByCase");
        nicknames = Collections.synchronizedList(newNicknames);
        
        sort();
    }
    //#NicklistListModel.java:70: end of method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel(List)

    /**
     * Returns the size of the current nicklist.
     * @return nicklist size
     */
    @Override
    public int getSize() {
        return nicknames.size();
    //#NicklistListModel.java:78: method: int com.dmdirc.addons.ui_swing.components.NicklistListModel.getSize()
    //#input(int getSize()): this
    //#input(int getSize()): this.nicknames
    //#output(int getSize()): return_value
    //#pre[2] (int getSize()): this.nicknames != null
    //#post(int getSize()): init'ed(return_value)
    //#NicklistListModel.java:78: end of method: int com.dmdirc.addons.ui_swing.components.NicklistListModel.getSize()
    }

    /**
     * Returns the element at the specified place in the nicklist.
     * 
     * @param index index of nick required
     * 
     * @return nicklist entry requested
     */
    @Override
    public ChannelClientInfo getElementAt(final int index) {
        return nicknames.get(index);
    //#NicklistListModel.java:90: method: ChannelClientInfo com.dmdirc.addons.ui_swing.components.NicklistListModel.getElementAt(int)
    //#input(ChannelClientInfo getElementAt(int)): index
    //#input(ChannelClientInfo getElementAt(int)): this
    //#input(ChannelClientInfo getElementAt(int)): this.nicknames
    //#output(ChannelClientInfo getElementAt(int)): return_value
    //#pre[3] (ChannelClientInfo getElementAt(int)): this.nicknames != null
    //#post(ChannelClientInfo getElementAt(int)): init'ed(return_value)
    //#NicklistListModel.java:90: end of method: ChannelClientInfo com.dmdirc.addons.ui_swing.components.NicklistListModel.getElementAt(int)
    }

    /**
     * Sorts the nicklist based on settings in the Config.
     */
    public void sort() {
        synchronized (nicknames) {
    //#NicklistListModel.java:97: method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.sort()
    //#input(void sort()): this
    //#input(void sort()): this.nicknames
    //#input(void sort()): this.nicknames.__Lock
    //#input(void sort()): this.sortByCase
    //#input(void sort()): this.sortByMode
    //#pre[2] (void sort()): this.nicknames != null
    //#pre[3] (void sort()): init'ed(this.sortByCase)
    //#pre[4] (void sort()): init'ed(this.sortByMode)
    //#unanalyzed(void sort()): Effects-of-calling:java.util.List:size
    //#unanalyzed(void sort()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
            Collections.sort(nicknames,
                    new NicklistComparator(sortByMode, sortByCase));
        }
        rerender();
    }
    //#NicklistListModel.java:102: end of method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.sort()

    /**
     * Replaces the entire nicklist with the arraylist specified.
     * 
     * @param clients replacement nicklist
     * 
     * @return boolean success
     */
    public boolean replace(final List<ChannelClientInfo> clients) {
        boolean returnValue = false;
    //#NicklistListModel.java:112: method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.replace(List)
    //#NicklistListModel.java:112: Warning: unused assignment
    //#    Unused assignment into returnValue
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: bool replace(List)
    //#    Attribs:  Uncertain
    //#input(bool replace(List)): clients
    //#input(bool replace(List)): this
    //#input(bool replace(List)): this.nicknames
    //#input(bool replace(List)): this.sortByCase
    //#input(bool replace(List)): this.sortByMode
    //#output(bool replace(List)): return_value
    //#pre[3] (bool replace(List)): this.nicknames != null
    //#pre[5] (bool replace(List)): init'ed(this.sortByCase)
    //#pre[6] (bool replace(List)): init'ed(this.sortByMode)
    //#post(bool replace(List)): init'ed(return_value)
    //#unanalyzed(bool replace(List)): Effects-of-calling:java.util.List:size
    //#unanalyzed(bool replace(List)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
    //#unanalyzed(bool replace(List)): Effects-of-calling:java.util.Collections:sort
    //#unanalyzed(bool replace(List)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj

        nicknames.clear();
        returnValue = nicknames.addAll(clients);
        sort();

        return returnValue;
    //#NicklistListModel.java:118: end of method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.replace(List)
    }

    /**
     * Adds the specified client to the nicklist.
     * 
     * @param client client to add to the nicklist
     * 
     * @return boolean success
     */
    public boolean add(final ChannelClientInfo client) {
        boolean returnValue = false;
    //#NicklistListModel.java:129: method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.add(ChannelClientInfo)
    //#NicklistListModel.java:129: Warning: unused assignment
    //#    Unused assignment into returnValue
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: bool add(ChannelClientInfo)
    //#    Attribs:  Uncertain
    //#input(bool add(ChannelClientInfo)): client
    //#input(bool add(ChannelClientInfo)): this
    //#input(bool add(ChannelClientInfo)): this.nicknames
    //#input(bool add(ChannelClientInfo)): this.sortByCase
    //#input(bool add(ChannelClientInfo)): this.sortByMode
    //#output(bool add(ChannelClientInfo)): return_value
    //#pre[3] (bool add(ChannelClientInfo)): this.nicknames != null
    //#pre[5] (bool add(ChannelClientInfo)): init'ed(this.sortByCase)
    //#pre[6] (bool add(ChannelClientInfo)): init'ed(this.sortByMode)
    //#post(bool add(ChannelClientInfo)): init'ed(return_value)
    //#unanalyzed(bool add(ChannelClientInfo)): Effects-of-calling:java.util.List:size
    //#unanalyzed(bool add(ChannelClientInfo)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
    //#unanalyzed(bool add(ChannelClientInfo)): Effects-of-calling:java.util.Collections:sort
    //#unanalyzed(bool add(ChannelClientInfo)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj

        returnValue = nicknames.add(client);
        sort();

        return returnValue;
    //#NicklistListModel.java:134: end of method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.add(ChannelClientInfo)
    }

    /**
     * Removes the specified client from the nicklist.
     * 
     * @param client client to remove
     * 
     * @return boolean success
     */
    public boolean remove(final ChannelClientInfo client) {
        boolean returnValue;
        
        returnValue = nicknames.remove(client);
    //#NicklistListModel.java:147: method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.remove(ChannelClientInfo)
    //#input(bool remove(ChannelClientInfo)): client
    //#input(bool remove(ChannelClientInfo)): this
    //#input(bool remove(ChannelClientInfo)): this.nicknames
    //#output(bool remove(ChannelClientInfo)): return_value
    //#pre[3] (bool remove(ChannelClientInfo)): this.nicknames != null
    //#post(bool remove(ChannelClientInfo)): init'ed(return_value)
    //#unanalyzed(bool remove(ChannelClientInfo)): Effects-of-calling:java.util.List:size
    //#unanalyzed(bool remove(ChannelClientInfo)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
        rerender();
        
        return returnValue;
    //#NicklistListModel.java:150: end of method: bool com.dmdirc.addons.ui_swing.components.NicklistListModel.remove(ChannelClientInfo)
    }

    /**
     * Removes the specified index from the nicklist.
     * 
     * @param index index to remove
     * 
     * @return ChannelClientInfo client removed
     */
    public ChannelClientInfo remove(final int index) {
        ChannelClientInfo returnValue;
        
        returnValue = nicknames.remove(index);
    //#NicklistListModel.java:163: method: ChannelClientInfo com.dmdirc.addons.ui_swing.components.NicklistListModel.remove(int)
    //#input(ChannelClientInfo remove(int)): index
    //#input(ChannelClientInfo remove(int)): this
    //#input(ChannelClientInfo remove(int)): this.nicknames
    //#output(ChannelClientInfo remove(int)): return_value
    //#pre[3] (ChannelClientInfo remove(int)): this.nicknames != null
    //#post(ChannelClientInfo remove(int)): init'ed(return_value)
    //#unanalyzed(ChannelClientInfo remove(int)): Effects-of-calling:java.util.List:size
    //#unanalyzed(ChannelClientInfo remove(int)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
        rerender();
        
        return returnValue;
    //#NicklistListModel.java:166: end of method: ChannelClientInfo com.dmdirc.addons.ui_swing.components.NicklistListModel.remove(int)
    }

    /** 
     * Fires the model changed event forcing the model to re-render. 
     */
    public void rerender() {
        fireContentsChanged(this, 0, nicknames.size());
    //#NicklistListModel.java:173: method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.rerender()
    //#NicklistListModel.java:173: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged(Object, int, int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void rerender()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged(Object, int, int)
    //#input(void rerender()): this
    //#input(void rerender()): this.nicknames
    //#pre[2] (void rerender()): this.nicknames != null
    }
    //#NicklistListModel.java:174: end of method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.rerender()

    /** {@inheritDoc} */
    @Override
    public void configChanged(String domain, String key) {
        if ("sortByMode".equals(key)) {
    //#NicklistListModel.java:179: method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.configChanged(String, String)
    //#input(void configChanged(String, String)): key
    //#input(void configChanged(String, String)): this
    //#input(void configChanged(String, String)): this.nicknames
    //#input(void configChanged(String, String)): this.sortByCase
    //#input(void configChanged(String, String)): this.sortByMode
    //#output(void configChanged(String, String)): this.sortByCase
    //#output(void configChanged(String, String)): this.sortByMode
    //#pre[5] (void configChanged(String, String)): this.nicknames != null
    //#pre[2] (void configChanged(String, String)): (soft) init'ed(this.sortByCase)
    //#pre[3] (void configChanged(String, String)): (soft) init'ed(this.sortByMode)
    //#presumption(void configChanged(String, String)): com.dmdirc.config.IdentityManager:getGlobalConfig(...)@180 != null
    //#presumption(void configChanged(String, String)): com.dmdirc.config.IdentityManager:getGlobalConfig(...)@183 != null
    //#post(void configChanged(String, String)): init'ed(this.sortByCase)
    //#post(void configChanged(String, String)): init'ed(this.sortByMode)
    //#unanalyzed(void configChanged(String, String)): Effects-of-calling:java.util.List:size
    //#unanalyzed(void configChanged(String, String)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.NicklistListModel:fireContentsChanged
    //#unanalyzed(void configChanged(String, String)): Effects-of-calling:java.util.Collections:sort
    //#unanalyzed(void configChanged(String, String)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#test_vector(void configChanged(String, String)): java.lang.String:equals(...)@179: {0}, {1}
    //#test_vector(void configChanged(String, String)): java.lang.String:equals(...)@182: {0}, {1}
            sortByMode = IdentityManager.getGlobalConfig().
    //#NicklistListModel.java:180: Warning: method not available - call not analyzed
    //#    call on ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void configChanged(String, String)
    //#    unanalyzed callee: ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#NicklistListModel.java:180: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void configChanged(String, String)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
                    getOptionBool("nicklist", "sortByMode");
        } else if ("sortByCase".equals(key)) {
            sortByCase = IdentityManager.getGlobalConfig().
    //#NicklistListModel.java:183: Warning: method not available - call not analyzed
    //#    call on ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void configChanged(String, String)
    //#    unanalyzed callee: ConfigManager com.dmdirc.config.IdentityManager:getGlobalConfig()
    //#NicklistListModel.java:183: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.components.NicklistListModel
    //#    method: void configChanged(String, String)
    //#    unanalyzed callee: bool com.dmdirc.config.ConfigManager:getOptionBool(String, String)
                    getOptionBool("nicklist", "sortByCase");
        }
        
        sort();
    }
    //#NicklistListModel.java:188: end of method: void com.dmdirc.addons.ui_swing.components.NicklistListModel.configChanged(String, String)
}    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/NicklistListModel]
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.add(Lcom/dmdirc/parser/irc/ChannelClientInfo;)Z
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.configChanged(Ljava/lang/String;Ljava/lang/String;)V
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getElementAt(I)Lcom/dmdirc/parser/irc/ChannelClientInfo;
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getElementAt(I)Ljava/lang/Object;
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getSize()I
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.remove(I)Lcom/dmdirc/parser/irc/ChannelClientInfo;
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.remove(Lcom/dmdirc/parser/irc/ChannelClientInfo;)Z
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.replace(Ljava/util/List;)Z
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.rerender()V
    //#output(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.sort()V
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/components/NicklistListModel] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.add(Lcom/dmdirc/parser/irc/ChannelClientInfo;)Z == &add
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.configChanged(Ljava/lang/String;Ljava/lang/String;)V == &configChanged
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getElementAt(I)Lcom/dmdirc/parser/irc/ChannelClientInfo; == &getElementAt
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getElementAt(I)Ljava/lang/Object; == &getElementAt
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.getSize()I == &getSize
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.remove(I)Lcom/dmdirc/parser/irc/ChannelClientInfo; == &remove
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.remove(Lcom/dmdirc/parser/irc/ChannelClientInfo;)Z == &remove
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.replace(Ljava/util/List;)Z == &replace
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.rerender()V == &rerender
    //#post(com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init): __Dispatch_Table.sort()V == &sort
    //#NicklistListModel.java:: end of method: com.dmdirc.addons.ui_swing.components.NicklistListModel.com.dmdirc.addons.ui_swing.components.NicklistListModel__static_init
    //#NicklistListModel.java:: end of class: com.dmdirc.addons.ui_swing.components.NicklistListModel
