EventPair<Integer> (String jrePath) { if (jrePath != null) { JavaVersion version = JavaParametersUtil.getJavaVersion(jrePath); if (version != null) { return RunConfigurationUsageTriggerCollector.ALTERNATIVE_JRE_VERSION.with(version.feature); } } return null; }