rem: case nsIPrefBranch.PREF_STRING: return this.prefBranch.getCharPref (prefName);  case nsIPrefBranch.PREF_INT: return this.prefBranch.getIntPref (prefName);  case nsIPrefBranch.PREF_BOOL: return this.prefBranch.getBoolPref (prefName);  default: return defaultValue; 
add: switch (type) { case nsIPrefBranch.PREF_STRING: realValue = this.prefBranch.getCharPref (prefName); break;  case nsIPrefBranch.PREF_INT: realValue = this.prefBranch.getIntPref (prefName); break;  case nsIPrefBranch.PREF_BOOL: realValue = this.prefBranch.getBoolPref (prefName); break;  default: realValue = defaultValue; } 
context:     function prefGetter ()    {        var type = this.prefBranch.getPrefType (prefName);        try        {                switch (type)            {                case nsIPrefBranch.PREF_STRING:                    return this.prefBranch.getCharPref (prefName);                                    case nsIPrefBranch.PREF_INT:                    return this.prefBranch.getIntPref (prefName);                                case nsIPrefBranch.PREF_BOOL:                    return this.prefBranch.getBoolPref (prefName);                                default:                    return defaultValue;            }                    return null;        }        catch (ex)        {            dd ("caught exception reading pref ``" + prefName + "'' " + type +                "\n" + ex);            return defaultValue;        }    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ed4fc243ec2ff99e9bc6edcf70a934c38a68c746/venkman-prefs.js/clean/extensions/venkman/resources/content/venkman-prefs.js