String (@NotNull JavaVersion version, @Nullable String vendorPrefix) { StringBuilder suggested = new StringBuilder(); if (vendorPrefix != null) suggested.append(vendorPrefix).append('-'); if (version.feature < 9) suggested.append("1."); suggested.append(version.feature); if (version.ea) suggested.append("-ea"); return suggested.toString(); }