void () { if (!myLanguageInitialized) { if (myParam.language != null) { assert myParam.languageProvider == null; myLanguageInstance = Language.findLanguageByID(myParam.language); } else if (myParam.languageProvider != null) { try { myLanguageProvider = (MavenParamLanguageProvider)myClassLoader.loadClass(myParam.languageProvider).newInstance(); } catch (Exception e) { throw new RuntimeException("Failed to create language provider instance", e); } } myLanguageInitialized = true; } }