List<String> () { if (SystemInfo.isWindows) { String allExtensions = System.getenv("PATHEXT"); if (allExtensions != null) { Collection<String> extensions = StringUtil.split(allExtensions, ";", true, true); extensions = ContainerUtil.filter(extensions, s -> !StringUtil.isEmpty(s) && s.startsWith(".")); return ContainerUtil.map(extensions, s -> StringUtil.toLowerCase(s)); } } return Collections.emptyList(); }