//# 0 errors, 170 messages
//#
/*
    //#UpdateTableModel.java:1:1: class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#UpdateTableModel.java:1:1: method: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__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.dialogs.prefs;

import com.dmdirc.updater.UpdateChecker;
import com.dmdirc.updater.UpdateComponent;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.swing.table.AbstractTableModel;

/**
 * Update component table model
 */
public class UpdateTableModel extends AbstractTableModel {

    /**
     * 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 = 3;
    /** Update component list. */
    private final List<UpdateComponent> updates;
    /** Enabled list. */
    private Map<UpdateComponent, Boolean> enabled;

    /**
     * Instantiates a new table model.
     */
    public UpdateTableModel() {
        this(new ArrayList<UpdateComponent>());
    //#UpdateTableModel.java:55: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()
    //#input(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): this
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new ArrayList(UpdateTableModel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new HashMap(UpdateTableModel#2) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): this.enabled
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): this.updates
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new ArrayList(UpdateTableModel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new HashMap(UpdateTableModel#2)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): this.enabled == &new HashMap(UpdateTableModel#2)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): this.updates == &new ArrayList(UpdateTableModel#1)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new ArrayList(UpdateTableModel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): new HashMap(UpdateTableModel#2) num objects == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:javax.swing.table.AbstractTableModel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.HashMap
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:com.dmdirc.updater.UpdateChecker:isEnabled
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.lang.Boolean:valueOf
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()): Effects-of-calling:java.util.Map:put
    }
    //#UpdateTableModel.java:56: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel()

    /**
     * Instantiates a new table model.
     * 
     * @param updates Update components to show
     */
    public UpdateTableModel(final List<UpdateComponent> updates) {
    //#UpdateTableModel.java:63: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)
    //#input(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): this
    //#input(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): updates
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new ArrayList(UpdateTableModel#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new HashMap(UpdateTableModel#2) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): this.enabled
    //#output(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): this.updates
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new ArrayList(UpdateTableModel#1)
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new HashMap(UpdateTableModel#2)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): this.enabled == &new HashMap(UpdateTableModel#2)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): this.updates == &new ArrayList(UpdateTableModel#1)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new ArrayList(UpdateTableModel#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): new HashMap(UpdateTableModel#2) num objects == 1
    //#test_vector(void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)): java.util.Iterator:hasNext(...)@67: {0}, {1}
        this.updates = new ArrayList<UpdateComponent>(updates);
        this.enabled = new HashMap<UpdateComponent, Boolean>();

        for (UpdateComponent update : this.updates) {
            enabled.put(update, UpdateChecker.isEnabled(update));
    //#UpdateTableModel.java:68: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.updater.UpdateChecker:isEnabled(UpdateComponent)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)
    //#    unanalyzed callee: bool com.dmdirc.updater.UpdateChecker:isEnabled(UpdateComponent)
        }
    }
    //#UpdateTableModel.java:70: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel(List)

    /** {@inheritDoc} */
    @Override
    public int getRowCount() {
        synchronized (updates) {
    //#UpdateTableModel.java:75: method: int com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getRowCount()
    //#input(int getRowCount()): this
    //#input(int getRowCount()): this.updates
    //#input(int getRowCount()): this.updates.__Lock
    //#output(int getRowCount()): return_value
    //#pre[2] (int getRowCount()): this.updates != null
    //#post(int getRowCount()): init'ed(return_value)
            return updates.size();
        }
    //#UpdateTableModel.java:77: end of method: int com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getRowCount()
    }

    /** {@inheritDoc} */
    @Override
    public int getColumnCount() {
        return 3;
    //#UpdateTableModel.java:83: method: int com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnCount()
    //#output(int getColumnCount()): return_value
    //#post(int getColumnCount()): return_value == 3
    //#UpdateTableModel.java:83: end of method: int com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnCount()
    }

    /** {@inheritDoc} */
    @Override
    public String getColumnName(final int columnIndex) {
        switch (columnIndex) {
    //#UpdateTableModel.java:89: method: String com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnName(int)
    //#input(String getColumnName(int)): "Unknown column: "._tainted
    //#input(String getColumnName(int)): columnIndex
    //#output(String getColumnName(int)): return_value
    //#pre[1] (String getColumnName(int)): columnIndex in {0..2}
    //#post(String getColumnName(int)): return_value in Addr_Set{&"Update Component",&"Enabled?",&"Version"}
    //#test_vector(String getColumnName(int)): columnIndex: {0}, {1}, {2}
            case 0:
                return "Update Component";
            case 1:
                return "Enabled?";
            case 2:
                return "Version";
            default:
                throw new IllegalArgumentException("Unknown column: " +
    //#UpdateTableModel.java:97: end of method: String com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnName(int)
                        columnIndex);
        }
    }

    /** {@inheritDoc} */
    @Override
    public Class<?> getColumnClass(final int columnIndex) {
        switch (columnIndex) {
    //#UpdateTableModel.java:105: method: Class com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnClass(int)
    //#input(Class getColumnClass(int)): "Unknown column: "._tainted
    //#input(Class getColumnClass(int)): columnIndex
    //#output(Class getColumnClass(int)): return_value
    //#pre[1] (Class getColumnClass(int)): columnIndex in {0..2}
    //#post(Class getColumnClass(int)): return_value in Addr_Set{&java.lang.String.__Class_Obj,&java.lang.Boolean.__Class_Obj,&java.lang.Integer.__Class_Obj}
    //#test_vector(Class getColumnClass(int)): columnIndex: {0}, {1}, {2}
            case 0:
                return String.class;
            case 1:
                return Boolean.class;
            case 2:
                return Integer.class;
            default:
                throw new IllegalArgumentException("Unknown column: " +
    //#UpdateTableModel.java:113: end of method: Class com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getColumnClass(int)
                        columnIndex);
        }
    }

    /** {@inheritDoc} */
    @Override
    public boolean isCellEditable(final int rowIndex, final int columnIndex) {
        return columnIndex == 1;
    //#UpdateTableModel.java:121: method: bool com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.isCellEditable(int, int)
    //#input(bool isCellEditable(int, int)): columnIndex
    //#output(bool isCellEditable(int, int)): return_value
    //#post(bool isCellEditable(int, int)): init'ed(return_value)
    //#UpdateTableModel.java:121: end of method: bool com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.isCellEditable(int, int)
    }

    /** {@inheritDoc} */
    @Override
    public Object getValueAt(int rowIndex, int columnIndex) {
        synchronized (updates) {
    //#UpdateTableModel.java:127: method: Object com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getValueAt(int, int)
    //#input(Object getValueAt(int, int)): " >= "._tainted
    //#input(Object getValueAt(int, int)): "Unknown column: "._tainted
    //#input(Object getValueAt(int, int)): columnIndex
    //#input(Object getValueAt(int, int)): rowIndex
    //#input(Object getValueAt(int, int)): this
    //#input(Object getValueAt(int, int)): this.enabled
    //#input(Object getValueAt(int, int)): this.updates
    //#input(Object getValueAt(int, int)): this.updates.__Lock
    //#output(Object getValueAt(int, int)): return_value
    //#pre[1] (Object getValueAt(int, int)): columnIndex in {0..2}
    //#pre[2] (Object getValueAt(int, int)): rowIndex in {0..4_294_967_294}
    //#pre[5] (Object getValueAt(int, int)): this.updates != null
    //#pre[4] (Object getValueAt(int, int)): (soft) this.enabled != null
    //#presumption(Object getValueAt(int, int)): java.util.List:get(...)@137 != null
    //#presumption(Object getValueAt(int, int)): java.util.List:get(...)@141 != null
    //#presumption(Object getValueAt(int, int)): java.util.List:size(...)@128 >= 1
    //#presumption(Object getValueAt(int, int)): java.util.List:size(...)@128 - rowIndex in {1..4_294_967_295}
    //#post(Object getValueAt(int, int)): init'ed(return_value)
    //#test_vector(Object getValueAt(int, int)): columnIndex: {0}, {1}, {2}
            if (updates.size() <= rowIndex) {
                throw new IndexOutOfBoundsException(rowIndex + " >= " +
                        updates.size());
            }
            if (rowIndex < 0) {
                throw new IllegalArgumentException("Must specify a positive integer");
            }
            switch (columnIndex) {
                case 0:
                    return updates.get(rowIndex).getFriendlyName();
    //#UpdateTableModel.java:137: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.updater.UpdateComponent:getFriendlyName()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: Object getValueAt(int, int)
    //#    unanalyzed callee: String com.dmdirc.updater.UpdateComponent:getFriendlyName()
                case 1:
                    return enabled.get(updates.get(rowIndex));
                case 2:
                    return updates.get(rowIndex).getFriendlyVersion();
    //#UpdateTableModel.java:141: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.updater.UpdateComponent:getFriendlyVersion()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: Object getValueAt(int, int)
    //#    unanalyzed callee: String com.dmdirc.updater.UpdateComponent:getFriendlyVersion()
                default:
                    throw new IllegalArgumentException("Unknown column: " +
                            columnIndex);
            }
        }
    //#UpdateTableModel.java:146: end of method: Object com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.getValueAt(int, int)
    }

    /** {@inheritDoc} */
    @Override
    public void setValueAt(final Object aValue, final int rowIndex,
            final int columnIndex) {
        synchronized (updates) {
    //#UpdateTableModel.java:153: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.setValueAt(Object, int, int)
    //#input(void setValueAt(Object, int, int)): " >= "._tainted
    //#input(void setValueAt(Object, int, int)): "Unknown column: "._tainted
    //#input(void setValueAt(Object, int, int)): aValue
    //#input(void setValueAt(Object, int, int)): columnIndex
    //#input(void setValueAt(Object, int, int)): rowIndex
    //#input(void setValueAt(Object, int, int)): this
    //#input(void setValueAt(Object, int, int)): this.enabled
    //#input(void setValueAt(Object, int, int)): this.updates
    //#input(void setValueAt(Object, int, int)): this.updates.__Lock
    //#pre[2] (void setValueAt(Object, int, int)): columnIndex == 1
    //#pre[3] (void setValueAt(Object, int, int)): rowIndex in {0..4_294_967_294}
    //#pre[5] (void setValueAt(Object, int, int)): this.enabled != null
    //#pre[6] (void setValueAt(Object, int, int)): this.updates != null
    //#presumption(void setValueAt(Object, int, int)): java.util.List:size(...)@154 >= 1
    //#presumption(void setValueAt(Object, int, int)): java.util.List:size(...)@154 - rowIndex in {1..4_294_967_295}
            if (updates.size() <= rowIndex) {
                throw new IndexOutOfBoundsException(rowIndex + " >= " +
                        updates.size());
            }
            if (rowIndex < 0) {
                throw new IllegalArgumentException("Must specify a positive integer");
            }
            switch (columnIndex) {
                case 1:
                    enabled.put(updates.get(rowIndex), (Boolean) aValue);
                    break;
                default:
                    throw new IllegalArgumentException("Unknown column: " +
                            columnIndex);
            }
            fireTableCellUpdated(rowIndex, columnIndex);
    //#UpdateTableModel.java:169: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableCellUpdated(int, int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: void setValueAt(Object, int, int)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableCellUpdated(int, int)
        }
    }
    //#UpdateTableModel.java:171: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.setValueAt(Object, int, int)

    /**
     * Adds a update component to the model.
     * 
     * @param component update component to add
     */
    public void add(final UpdateComponent component) {
        synchronized (updates) {
    //#UpdateTableModel.java:179: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.add(UpdateComponent)
    //#input(void add(UpdateComponent)): component
    //#input(void add(UpdateComponent)): this
    //#input(void add(UpdateComponent)): this.updates
    //#input(void add(UpdateComponent)): this.updates.__Lock
    //#pre[3] (void add(UpdateComponent)): this.updates != null
    //#presumption(void add(UpdateComponent)): java.util.List:size(...)@181 >= -2_147_483_647
    //#presumption(void add(UpdateComponent)): java.util.List:size(...)@181 >= -2_147_483_647
            updates.add(component);
            fireTableRowsInserted(updates.size() - 1, updates.size() - 1);
    //#UpdateTableModel.java:181: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableRowsInserted(int, int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: void add(UpdateComponent)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableRowsInserted(int, int)
        }
    }
    //#UpdateTableModel.java:183: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.add(UpdateComponent)

    /**
     * Removes a update component to the model.
     * 
     * @param component update component to remove
     */
    public void remove(final UpdateComponent component) {
        synchronized (updates) {
    //#UpdateTableModel.java:191: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.remove(UpdateComponent)
    //#input(void remove(UpdateComponent)): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/prefs/UpdateTableModel]
    //#input(void remove(UpdateComponent)): __Descendant_Table[others]
    //#input(void remove(UpdateComponent)): __Dispatch_Table.remove(I)V
    //#input(void remove(UpdateComponent)): component
    //#input(void remove(UpdateComponent)): this
    //#input(void remove(UpdateComponent)): this.__Tag
    //#input(void remove(UpdateComponent)): this.updates
    //#pre[3] (void remove(UpdateComponent)): this.__Tag == com/dmdirc/addons/ui_swing/dialogs/prefs/UpdateTableModel
    //#pre[4] (void remove(UpdateComponent)): this.updates != null
    //#unanalyzed(void remove(UpdateComponent)): Effects-of-calling:java.lang.Throwable:__curr_excep_obj
    //#unanalyzed(void remove(UpdateComponent)): Effects-of-calling:java.util.List:remove
    //#unanalyzed(void remove(UpdateComponent)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableRowsDeleted
            remove(updates.indexOf(component));
        }
    }
    //#UpdateTableModel.java:194: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.remove(UpdateComponent)

    /**
     * Removes a update component to the model.
     * 
     * @param index Index of the update component to remove
     */
    public void remove(final int index) {
        synchronized (updates) {
    //#UpdateTableModel.java:202: method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.remove(int)
    //#input(void remove(int)): index
    //#input(void remove(int)): this
    //#input(void remove(int)): this.updates
    //#input(void remove(int)): this.updates.__Lock
    //#pre[3] (void remove(int)): (soft) this.updates != null
            if (index != -1) {
                updates.remove(index);
                fireTableRowsDeleted(index, index);
    //#UpdateTableModel.java:205: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableRowsDeleted(int, int)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
    //#    method: void remove(int)
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel:fireTableRowsDeleted(int, int)
            }
        }
    }
    //#UpdateTableModel.java:208: end of method: void com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.remove(int)
}
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/prefs/UpdateTableModel]
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.add(Lcom/dmdirc/updater/UpdateComponent;)V
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnClass(I)Ljava/lang/Class;
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnCount()I
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnName(I)Ljava/lang/String;
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getRowCount()I
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getValueAt(II)Ljava/lang/Object;
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.isCellEditable(II)Z
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.remove(I)V
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.remove(Lcom/dmdirc/updater/UpdateComponent;)V
    //#output(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.setValueAt(Ljava/lang/Object;II)V
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/prefs/UpdateTableModel] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.add(Lcom/dmdirc/updater/UpdateComponent;)V == &add
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnClass(I)Ljava/lang/Class; == &getColumnClass
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnCount()I == &getColumnCount
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getColumnName(I)Ljava/lang/String; == &getColumnName
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getRowCount()I == &getRowCount
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.getValueAt(II)Ljava/lang/Object; == &getValueAt
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.isCellEditable(II)Z == &isCellEditable
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.remove(I)V == &remove
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.remove(Lcom/dmdirc/updater/UpdateComponent;)V == &remove
    //#post(com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init): __Dispatch_Table.setValueAt(Ljava/lang/Object;II)V == &setValueAt
    //#UpdateTableModel.java:: end of method: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel.com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel__static_init
    //#UpdateTableModel.java:: end of class: com.dmdirc.addons.ui_swing.dialogs.prefs.UpdateTableModel
