예제 #1
0
 @Override
 @Nullable
 public JavaSdkVersion getVersion(@NotNull String versionString) {
   return JdkVersionUtil.getVersion(versionString);
 }
예제 #2
0
 @Override
 public JavaSdkVersion getVersion(@NotNull Sdk sdk) {
   String version = sdk.getVersionString();
   if (version == null) return null;
   return JdkVersionUtil.getVersion(version);
 }