public static @Nullable HtmlNonExistentInternetResourceInspection getInspection(@NotNull PsiElement context) {
    final String shortName = HtmlNonExistentInternetResourceInspection.SHORT_NAME;

    final HighlightDisplayKey key = HighlightDisplayKey.find(shortName);
    if (key == null) {
      return null;
    }

    final InspectionProfile profile = InspectionProjectProfileManager.getInstance(context.getProject()).getCurrentProfile();
    if (!profile.isToolEnabled(key, context)) {
      return null;
    }
    return (HtmlNonExistentInternetResourceInspection)profile.getUnwrappedTool(shortName, context);
  }
public static @Nullable HtmlNonExistentInternetResourceInspection getInspection(@NotNull PsiElement context)