//# 1 errors, 157 messages
//#
/*
    //#CertificateInfoPanel.java:1:1: class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#CertificateInfoPanel.java:1:1: method: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__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.sslcertificate;

import com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry;
import com.dmdirc.addons.ui_swing.components.text.TextLabel;

import java.awt.Color;
import java.util.ArrayList;

import java.util.List;
import javax.swing.BorderFactory;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;

import net.miginfocom.swing.MigLayout;

/**
 * Displays the certificate info panel. Listing various informational 
 * snippets about a certificate.
 */
public class CertificateInfoPanel extends JScrollPane {

    /**
     * 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;
    /** Certificate info list. */
    private List<List<CertificateInformationEntry>> certificateInfo;
    /** Certificate name. */
    private String certificateName;
    /** Content panel. */
    private JPanel content;

    public CertificateInfoPanel() {
    //#CertificateInfoPanel.java:60: method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()
    //#input(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): ": "._tainted
    //#input(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): "Information for "._tainted
    //#input(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): java.awt.Color.RED
    //#input(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this
    //#output(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new ArrayList(initComponents#2) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new JPanel(initComponents#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this.certificateInfo
    //#output(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this.certificateName
    //#output(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this.content
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new ArrayList(initComponents#2)
    //#new obj(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new JPanel(initComponents#1)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this.certificateInfo == &new ArrayList(initComponents#2)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): init'ed(this.certificateName)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): this.content == &new JPanel(initComponents#1)
    //#post(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new ArrayList(initComponents#2) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): new JPanel(initComponents#1) num objects == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JPanel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.util.ArrayList
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.BorderFactory:createTitledBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setBorder
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JPanel:setVisible
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JPanel:removeAll
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JPanel:setLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getTitle
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JPanel:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isInvalid
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.text.SimpleAttributeSet
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.text.StyleConstants:setForeground
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.lang.String:length
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.text.StyledDocument:setParagraphAttributes
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isMissing
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.text.StyleConstants:setItalic
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:java.util.List:size
    //#unanalyzed(void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()): Effects-of-calling:javax.swing.JLabel
        initComponents();
        layoutComponents();
        setViewportView(content);
    //#CertificateInfoPanel.java:63: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setViewportView(Component)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setViewportView(Component)
    }
    //#CertificateInfoPanel.java:64: end of method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel()

    private void initComponents() {
        content = new JPanel();
    //#CertificateInfoPanel.java:67: method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.initComponents()
    //#input(void initComponents()): this
    //#output(void initComponents()): new ArrayList(initComponents#2) num objects
    //#output(void initComponents()): new JPanel(initComponents#1) num objects
    //#output(void initComponents()): this.certificateInfo
    //#output(void initComponents()): this.content
    //#new obj(void initComponents()): new ArrayList(initComponents#2)
    //#new obj(void initComponents()): new JPanel(initComponents#1)
    //#post(void initComponents()): this.certificateInfo == &new ArrayList(initComponents#2)
    //#post(void initComponents()): this.content == &new JPanel(initComponents#1)
    //#post(void initComponents()): new ArrayList(initComponents#2) num objects == 1
    //#post(void initComponents()): new JPanel(initComponents#1) num objects == 1
        certificateInfo = new ArrayList<List<CertificateInformationEntry>>();
    }
    //#CertificateInfoPanel.java:69: end of method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.initComponents()

    private void layoutComponents() {
        setBorder(BorderFactory.createTitledBorder("Information for " +
    //#CertificateInfoPanel.java:72: method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.layoutComponents()
    //#CertificateInfoPanel.java:72: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setBorder(Border)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setBorder(Border)
    //#input(void layoutComponents()): ": "._tainted
    //#input(void layoutComponents()): "Information for "._tainted
    //#input(void layoutComponents()): java.awt.Color.RED
    //#input(void layoutComponents()): this
    //#input(void layoutComponents()): this.certificateInfo
    //#input(void layoutComponents()): this.certificateName
    //#input(void layoutComponents()): this.certificateName._tainted
    //#input(void layoutComponents()): this.content
    //#pre[2] (void layoutComponents()): this.certificateInfo != null
    //#pre[3] (void layoutComponents()): init'ed(this.certificateName)
    //#pre[5] (void layoutComponents()): this.content != null
    //#presumption(void layoutComponents()): com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument(...)@86 != null
    //#presumption(void layoutComponents()): com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument(...)@92 != null
    //#presumption(void layoutComponents()): com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue(...)@86 != null
    //#presumption(void layoutComponents()): com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue(...)@92 != null
    //#presumption(void layoutComponents()): init'ed(java.awt.Color.RED)
    //#presumption(void layoutComponents()): java.util.Iterator:next(...)@79 != null
    //#presumption(void layoutComponents()): java.util.Iterator:next(...)@80 != null
    //#test_vector(void layoutComponents()): com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isInvalid(...)@83: {0}, {1}
    //#test_vector(void layoutComponents()): com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isMissing(...)@89: {0}, {1}
    //#test_vector(void layoutComponents()): java.util.Iterator:hasNext(...)@79: {0}, {1}
    //#test_vector(void layoutComponents()): java.util.Iterator:hasNext(...)@80: {0}, {1}
                certificateName));
        content.setVisible(false);
        content.removeAll();
        content.setLayout(new MigLayout("fillx, wmax 100%, wrap 2, pack"));
    //#CertificateInfoPanel.java:76: Warning: method not available - call not analyzed
    //#    call on void net.miginfocom.swing.MigLayout(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void net.miginfocom.swing.MigLayout(String)

        int i = 1;
        for (List<CertificateInformationEntry> entry : certificateInfo) {
            for (CertificateInformationEntry info : entry) {
                content.add(new TextLabel(info.getTitle() + ": "), "alignx right");
    //#CertificateInfoPanel.java:81: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getTitle()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getTitle()
    //#CertificateInfoPanel.java:81: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
                final TextLabel text = new TextLabel(info.getValue(), false);
    //#CertificateInfoPanel.java:82: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
    //#CertificateInfoPanel.java:82: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.text.TextLabel(String, bool)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.text.TextLabel(String, bool)
                if (info.isInvalid()) {
    //#CertificateInfoPanel.java:83: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isInvalid()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: bool com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isInvalid()
                    SimpleAttributeSet sas = new SimpleAttributeSet();
                    StyleConstants.setForeground(sas, Color.RED);
                    text.getDocument().setParagraphAttributes(0, info.getValue().
    //#CertificateInfoPanel.java:86: Warning: method not available - call not analyzed
    //#    call on StyledDocument com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: StyledDocument com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument()
    //#CertificateInfoPanel.java:86: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
                            length(), sas, true);
                }
                if (info.isMissing()) {
    //#CertificateInfoPanel.java:89: Warning: method not available - call not analyzed
    //#    call on bool com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isMissing()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: bool com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isMissing()
                    SimpleAttributeSet sas = new SimpleAttributeSet();
                    StyleConstants.setItalic(sas, true);
                    text.getDocument().setParagraphAttributes(0, info.getValue().
    //#CertificateInfoPanel.java:92: Warning: method not available - call not analyzed
    //#    call on StyledDocument com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: StyledDocument com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument()
    //#CertificateInfoPanel.java:92: Warning: method not available - call not analyzed
    //#    call on String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    unanalyzed callee: String com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue()
                            length(), sas, true);
                }
                content.add(text, "growx, pushx");
            }
            if (i < certificateInfo.size()) {
                content.add(new JLabel(), "spanx, gaptop 2*unrel");
            }
            i++;
    //#CertificateInfoPanel.java:100: ?overflow
    //#    i in {-2_147_483_649..4_294_967_294}
    //#    severity: LOW
    //#    class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
    //#    method: void layoutComponents()
    //#    basic block: bb_12
    //#    assertion: i in {-2_147_483_649..4_294_967_294}
    //#    VN: i + 1
    //#    Expected: {-2_147_483_648..4_294_967_295, Invalid}
    //#    Bad: {4_294_967_296}
    //#    Attribs:  Int  Bad singleton  Bad > Exp
        }
        content.setVisible(true);
    }
    //#CertificateInfoPanel.java:103: end of method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.layoutComponents()

    public void setInfo(final String certificateName,
            final List<List<CertificateInformationEntry>> certificateInfo) {
        this.certificateInfo = certificateInfo;
    //#CertificateInfoPanel.java:107: method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.setInfo(String, List)
    //#input(void setInfo(String, List)): ": "._tainted
    //#input(void setInfo(String, List)): "Information for "._tainted
    //#input(void setInfo(String, List)): certificateInfo
    //#input(void setInfo(String, List)): certificateName
    //#input(void setInfo(String, List)): certificateName._tainted
    //#input(void setInfo(String, List)): java.awt.Color.RED
    //#input(void setInfo(String, List)): this
    //#input(void setInfo(String, List)): this.certificateName._tainted
    //#input(void setInfo(String, List)): this.content
    //#output(void setInfo(String, List)): new ArrayList(setInfo#1) num objects
    //#output(void setInfo(String, List)): this.certificateInfo
    //#output(void setInfo(String, List)): this.certificateName
    //#new obj(void setInfo(String, List)): new ArrayList(setInfo#1)
    //#pre[6] (void setInfo(String, List)): this.content != null
    //#post(void setInfo(String, List)): this.certificateInfo == One-of{certificateInfo, &new ArrayList(setInfo#1)}
    //#post(void setInfo(String, List)): this.certificateInfo != null
    //#post(void setInfo(String, List)): this.certificateName == certificateName
    //#post(void setInfo(String, List)): init'ed(this.certificateName)
    //#post(void setInfo(String, List)): new ArrayList(setInfo#1) num objects <= 1
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.BorderFactory:createTitledBorder
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel:setBorder
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.JPanel:setVisible
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.JPanel:removeAll
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.JPanel:setLayout
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getTitle
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.JPanel:add
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:getValue
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isInvalid
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.text.SimpleAttributeSet
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.text.StyleConstants:setForeground
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel:getDocument
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.lang.String:length
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.text.StyledDocument:setParagraphAttributes
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:com.dmdirc.ui.core.dialogs.sslcertificate.CertificateInformationEntry:isMissing
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.text.StyleConstants:setItalic
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:java.util.List:size
    //#unanalyzed(void setInfo(String, List)): Effects-of-calling:javax.swing.JLabel
    //#test_vector(void setInfo(String, List)): certificateInfo: Inverse{null}, Addr_Set{null}
        this.certificateName = certificateName;

        if (certificateInfo == null) {
            this.certificateInfo =
                    new ArrayList<List<CertificateInformationEntry>>();
        }
        layoutComponents();
    }
    //#CertificateInfoPanel.java:115: end of method: void com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.setInfo(String, List)
}
    //#output(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/sslcertificate/CertificateInfoPanel]
    //#output(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.initComponents()V
    //#output(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.layoutComponents()V
    //#output(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.setInfo(Ljava/lang/String;Ljava/util/List;)V
    //#post(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/dialogs/sslcertificate/CertificateInfoPanel] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.initComponents()V == &initComponents
    //#post(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.layoutComponents()V == &layoutComponents
    //#post(com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init): __Dispatch_Table.setInfo(Ljava/lang/String;Ljava/util/List;)V == &setInfo
    //#CertificateInfoPanel.java:: end of method: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel.com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel__static_init
    //#CertificateInfoPanel.java:: end of class: com.dmdirc.addons.ui_swing.dialogs.sslcertificate.CertificateInfoPanel
