PreferencesCategory.java


current inspection = 2009-09-03 21:56:13 (id #1)


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void addChangeListener(CategoryChangeListener)

  • Kind Annotation Text
    prethis.listeners != null

  • void addSetting(PreferencesSetting)

  • Kind Annotation Text
    prethis.object == null
    prethis.settings != null

  • void addSubCategory(PreferencesCategory)

  • Kind Annotation Text
    pre(soft) subcategory.isInline == 1
    preinit'ed(this.isInline)
    presubcategory != null
    prethis.subcats != null
    postsubcategory.parent != null
    postsubcategory.parent == this
    test_vectorthis.isInline: {0}, {1}

  • void com.dmdirc.config.prefs.PreferencesCategory(String, String)

  • Kind Annotation Text
    postinit'ed(this.description)
    postinit'ed(this.title)
    postnew ArrayList(PreferencesCategory#1) num objects == 1
    postnew ArrayList(PreferencesCategory#2) num objects == 1
    postnew ListenerList(PreferencesCategory#3) num objects == 1
    postthis.description == description
    postthis.icon == null
    postthis.inlineBefore == 1
    postthis.isInline == 0
    postthis.listeners == &new ListenerList(Preferences Category#3)
    postthis.object == null
    postthis.settings == &new ArrayList(PreferencesCate gory#1)
    postthis.subcats == &new ArrayList(PreferencesCateg ory#2)
    postthis.title == title
    unanalyzedcall on com.dmdirc.util.ListenerList
    unanalyzedcall on java.util.ArrayList

  • void com.dmdirc.config.prefs.PreferencesCategory(String, String, PreferencesInterface)

  • Kind Annotation Text
    postinit'ed(this.description)
    postinit'ed(this.object)
    postinit'ed(this.title)
    postnew ArrayList(PreferencesCategory#1) num objects == 1
    postnew ArrayList(PreferencesCategory#2) num objects == 1
    postnew ListenerList(PreferencesCategory#3) num objects == 1
    postthis.description == description
    postthis.icon == null
    postthis.inlineBefore == 1
    postthis.isInline == 0
    postthis.listeners == &new ListenerList(Preferences Category#3)
    postthis.object == object
    postthis.settings == &new ArrayList(PreferencesCate gory#1)
    postthis.subcats == &new ArrayList(PreferencesCateg ory#2)
    postthis.title == title
    unanalyzedcall on com.dmdirc.util.ListenerList
    unanalyzedcall on java.util.ArrayList

  • void com.dmdirc.config.prefs.PreferencesCategory(String, String, String)

  • Kind Annotation Text
    postinit'ed(this.description)
    postinit'ed(this.icon)
    postinit'ed(this.title)
    postnew ArrayList(PreferencesCategory#1) num objects == 1
    postnew ArrayList(PreferencesCategory#2) num objects == 1
    postnew ListenerList(PreferencesCategory#3) num objects == 1
    postthis.description == description
    postthis.icon == icon
    postthis.inlineBefore == 1
    postthis.isInline == 0
    postthis.listeners == &new ListenerList(Preferences Category#3)
    postthis.object == null
    postthis.settings == &new ArrayList(PreferencesCate gory#1)
    postthis.subcats == &new ArrayList(PreferencesCateg ory#2)
    postthis.title == title
    unanalyzedcall on com.dmdirc.util.ListenerList
    unanalyzedcall on java.util.ArrayList

  • void com.dmdirc.config.prefs.PreferencesCategory(String, String, String, PreferencesInterface)

  • Kind Annotation Text
    postinit'ed(this.description)
    postinit'ed(this.icon)
    postinit'ed(this.object)
    postinit'ed(this.title)
    postnew ArrayList(PreferencesCategory#1) num objects == 1
    postnew ArrayList(PreferencesCategory#2) num objects == 1
    postnew ListenerList(PreferencesCategory#3) num objects == 1
    postthis.description == description
    postthis.icon == icon
    postthis.inlineBefore == 1
    postthis.isInline == 0
    postthis.listeners == &new ListenerList(Preferences Category#3)
    postthis.object == object
    postthis.settings == &new ArrayList(PreferencesCate gory#1)
    postthis.subcats == &new ArrayList(PreferencesCateg ory#2)
    postthis.title == title

  • com.dmdirc.config.prefs.PreferencesCategory__static_init

  • Kind Annotation Text
    postinit'ed(LOGGER)

  • void dismiss()

  • Kind Annotation Text
    prethis.settings != null
    prethis.subcats != null
    presumptionchild.settings@322 != null
    presumptionchild.subcats@322 != null
    presumptionjava.util.Iterator:next(...)@318 != null
    presumptionjava.util.Iterator:next(...)@322 != null
    presumptionsetting.listeners@318 != null
    unanalyzedcall on dismiss
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on settingChanged
    test_vectorjava.util.Iterator:hasNext(...)@318: {0}, {1}
    test_vectorjava.util.Iterator:hasNext(...)@322: {0}, {1}

  • void fireCategoryDeselected()

  • Kind Annotation Text
    prethis.listeners != null
    presumptioncom.dmdirc.util.ListenerList:get(...)@358 != null
    presumptionjava.util.Iterator:next(...)@358 != null
    test_vectorjava.util.Iterator:hasNext(...)@358: {0}, {1}

  • void fireCategorySelected()

  • Kind Annotation Text
    prethis.listeners != null
    presumptioncom.dmdirc.util.ListenerList:get(...)@349 != null
    presumptionjava.util.Iterator:next(...)@349 != null
    test_vectorjava.util.Iterator:hasNext(...)@349: {0}, {1}

  • String getDescription()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.description

  • String getIcon()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.icon

  • PreferencesInterface getObject()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.object

  • PreferencesCategory getParent()

  • Kind Annotation Text
    preinit'ed(this.parent)
    postinit'ed(return_value)
    postreturn_value == this.parent

  • String getPath()

  • Kind Annotation Text
    pre(soft) init'ed(this...parent)
    preinit'ed(this.parent)
    postinit'ed(java.lang.StringBuilder:toString(...)._ tainted)
    postjava.lang.StringBuilder:toString(...)._tainted == this.title._tainted | One-of{0, this...title._ tainted | One-of{0, this...title._tainted | One-of{0, this...title._tainted | One-of{0, this...title._tainted}}}}
    postreturn_value == &java.lang.StringBuilder:toStri ng(...)
    unanalyzedcall on getPath

  • List getSettings()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.settings

  • List getSubcats()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.subcats

  • String getTitle()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.title

  • bool hasObject()

  • Kind Annotation Text
    postinit'ed(return_value)

  • bool isInline()

  • Kind Annotation Text
    preinit'ed(this.isInline)
    postinit'ed(return_value)
    postreturn_value == this.isInline

  • bool isInlineBefore()

  • Kind Annotation Text
    preinit'ed(this.inlineBefore)
    postinit'ed(return_value)
    postreturn_value == this.inlineBefore

  • void removeChangeListener(CategoryChangeListener)

  • Kind Annotation Text
    prethis.listeners != null

  • bool save()

  • Kind Annotation Text
    pre(soft) com/dmdirc/config/IdentityManager.config != null
    pre(soft) com/dmdirc/config/IdentityManager.config. file != null
    pre(soft) com/dmdirc/config/IdentityManager.config. listeners != null
    pre(soft) com/dmdirc/config/IdentityManager.config. myTarget != null
    pre(soft) init'ed(com.dmdirc.config.ConfigManager$1__ static_init.new int[](ConfigManager$1__static_init# 1)[...])
    pre(soft) init'ed(com/dmdirc/config/IdentityManager. config.globalConfig)
    pre(soft) init'ed(com/dmdirc/config/IdentityManager. config.myTarget.type)
    prethis.settings != null
    prethis.subcats != null
    presumptionjava.util.Iterator:next(...)@300 != null
    presumptionjava.util.Iterator:next(...)@307 != null
    presumptionjava.util.logging.Logger:getLogger(...)@39 != null
    postinit'ed(com/dmdirc/config/IdentityManager.config. globalConfig)
    postinit'ed(new ArrayList(getSources#1) num objects)
    postinit'ed(new ConfigManager(setOption#2) num objects)
    postinit'ed(new ConfigManager(setOption#2).channel)
    postinit'ed(new ConfigManager(setOption#2).ircd)
    postinit'ed(new ConfigManager(setOption#2).listeners)
    postinit'ed(new ConfigManager(setOption#2).network)
    postinit'ed(new ConfigManager(setOption#2).server)
    postinit'ed(new ConfigManager(setOption#2).sources)
    postinit'ed(new MapList(ConfigManager#1) num objects)
    postinit'ed(return_value)
    postjava.lang.StringBuilder:toString(...)._tainted == 0
    postnew ArrayList(getSources#1) num objects == 0, if init'ed
    postnew ArrayList(getSources#1) num objects == undefined
    postnew ConfigManager(setOption#2) num objects == new ArrayList(getSources#1) num objects
    postnew ConfigManager(setOption#2).channel == null
    postnew ConfigManager(setOption#2).channel == undefined
    postnew ConfigManager(setOption#2).ircd == new ConfigManager(setOption#2).channel
    postnew ConfigManager(setOption#2).listeners == new ConfigManager(setOption#2).channel
    postnew ConfigManager(setOption#2).network == new ConfigManager(setOption#2).channel
    postnew ConfigManager(setOption#2).server == new ConfigManager(setOption#2).channel
    postnew ConfigManager(setOption#2).sources == new ConfigManager(setOption#2).channel
    postnew MapList(ConfigManager#1) num objects == new ArrayList(getSources#1) num objects
    postpossibly_updated(com/dmdirc/config/IdentityManager. config.needSave)
    unanalyzedcall on addConfigManager
    unanalyzedcall on addListener
    unanalyzedcall on com.dmdirc.config.ConfigSource
    unanalyzedcall on com.dmdirc.config.ConfigTarget$TYPE:ordinal
    unanalyzedcall on com.dmdirc.interfaces.ConfigChangeListener: configChanged
    unanalyzedcall on com.dmdirc.logger.Logger:assertTrue
    unanalyzedcall on com.dmdirc.util.ConfigFile:getKeyDomain
    unanalyzedcall on com.dmdirc.util.ConfigFile:getKeyDomains
    unanalyzedcall on com.dmdirc.util.ConfigFile:isKeyDomain
    unanalyzedcall on com.dmdirc.util.MapList
    unanalyzedcall on com.dmdirc.util.MapList:containsKey
    unanalyzedcall on com.dmdirc.util.MapList:get
    unanalyzedcall on equals
    unanalyzedcall on getDomains
    unanalyzedcall on getOption
    unanalyzedcall on getOptions
    unanalyzedcall on getSources
    unanalyzedcall on getTarget
    unanalyzedcall on hasOption
    unanalyzedcall on java.lang.IllegalArgumentException
    unanalyzedcall on java.lang.Integer:intValue
    unanalyzedcall on java.lang.Integer:valueOf
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.lang.String:equalsIgnoreCase
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.ArrayList
    unanalyzedcall on java.util.ArrayList:iterator
    unanalyzedcall on java.util.Collections:sort
    unanalyzedcall on java.util.HashMap
    unanalyzedcall on java.util.HashSet
    unanalyzedcall on java.util.List:add
    unanalyzedcall on java.util.List:addAll
    unanalyzedcall on java.util.List:contains
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.List:remove
    unanalyzedcall on java.util.Map:containsKey
    unanalyzedcall on java.util.Map:get
    unanalyzedcall on java.util.Map:keySet
    unanalyzedcall on java.util.Map:put
    unanalyzedcall on java.util.Map:remove
    unanalyzedcall on java.util.Set:iterator
    unanalyzedcall on java.util.logging.Logger:finer
    unanalyzedcall on removeListener
    unanalyzedcall on validate
    test_vectorjava.util.Iterator:hasNext(...)@300: {0}, {1}
    test_vectorjava.util.Iterator:hasNext(...)@307: {0}, {1}
    test_vectorsetting.restartNeeded@302: {0}, {1}

  • PreferencesCategory setInline()

  • Kind Annotation Text
    postreturn_value != null
    postreturn_value == this
    postthis.isInline == 1

  • PreferencesCategory setInlineAfter()

  • Kind Annotation Text
    postreturn_value != null
    postreturn_value == this
    postthis.inlineBefore == 0

  • void setParent(PreferencesCategory)

  • Kind Annotation Text
    postinit'ed(this.parent)
    postthis.parent == parent