LanguageLevelQuickFix () { if (isPlugin && isTarget) { return new TargetLevelPluginQuickFix(project, mavenProject); } else if (!isPlugin && isTarget) { return new TargetLevelPropertyQuickFix(project, mavenProject); } else if (isPlugin) { return new LanguageLevelPluginQuickFix(project, mavenProject); } else { return new LanguageLevelPropertyQuickFix(project, mavenProject); } }