}
}
if (ghc == null) {
Comparator<Sdk> sdkComparator = new Comparator<Sdk>() {
public int compare(Sdk s1, Sdk s2) {
GHCVersion v1 = GHCUtil.getVersion(s1.getVersionString());
GHCVersion v2 = GHCUtil.getVersion(s2.getVersionString());
return -v1.compareTo(v2);
}
};
ghc = SdkConfigurationUtil.findOrCreateSdk(sdkComparator, HaskellSdkType.INSTANCE);
}