class Installer extends ModuleInstall {

    @Override
    public void restored() {
        if (System.getProperty("org.gephi.settingsUpgrader.enabled", "true").equals("true")) {
            importSettings();
        }
    }

    public void importSettings() {<FILL_FUNCTION_BODY>}
}

        WindowManager.getDefault().invokeWhenUIReady(new Runnable() {

            @Override
            public void run() {
                Upgrader upgrader = new Upgrader();
                upgrader.upgrade();
            }
        });
    
<no_super_class>