public static @NotNull ExternalLibraryDescriptor getAnnotationsLibraryDescriptor(@NotNull Module contextModule) {
    boolean java8 = JavaFeature.TYPE_ANNOTATIONS.isSufficient(LanguageLevelUtil.getEffectiveLanguageLevel(contextModule));
    return java8 ? JAVA8 : JAVA5;
  }
public static @NotNull ExternalLibraryDescriptor getAnnotationsLibraryDescriptor(@NotNull Module contextModule)