public static @NotNull String escapeXmlIfNeeded(InsertionContext context, @NotNull String generics) {
    if (context.getFile().getViewProvider().getBaseLanguage() instanceof JspxLanguage) {
      return StringUtil.escapeXmlEntities(generics);
    }
    return generics;
  }
public static @NotNull String escapeXmlIfNeeded(InsertionContext context, @NotNull String generics)