LanguageLevel () { var version = getActualVersion(myMavenVersion); if (VersionComparatorUtil.compare("3.9.3", version) <= 0) { return LanguageLevel.JDK_1_8; } if (VersionComparatorUtil.compare("3.9.0", version) <= 0) { return LanguageLevel.JDK_1_7; } return LanguageLevel.JDK_1_5; }