void (@NotNull String domainName) { final Foundation.NSAutoreleasePool pool = new Foundation.NSAutoreleasePool(); try { final ID defaults = Foundation.invoke("NSUserDefaults", "standardUserDefaults"); if (defaults.equals(ID.NIL)) return; Foundation.invoke(defaults, "removePersistentDomainForName:", Foundation.nsString(domainName)); } finally { pool.drain(); } }