18601861186218631864186518661867186818691870
{ for (IPlugin plugin : pkg) { if (plugin instanceof AdvancedPreferencesPlugin) { AdvancedPreferencesPlugin app = (AdvancedPreferencesPlugin)plugin; app.overridePreferences(prefs); } } } }