private static void registerUsageFixes(@NotNull PsiMethodCallExpression methodCall,
                                         @Nullable HighlightInfo.Builder highlightInfo,
                                         @NotNull TextRange range) {
    for (IntentionAction action : QuickFixFactory.getInstance().createCreateMethodFromUsageFixes(methodCall)) {
      if (highlightInfo != null) {
        highlightInfo.registerFix(action, null, null, range, null);
      }
    }
  }
private static void registerUsageFixes(@NotNull PsiMethodCallExpression methodCall,
                                         @Nullable HighlightInfo.Builder highlightInfo,
                                         @NotNull TextRange range)