private static void registerFixesOnInvalidConstructorCall(@NotNull HighlightInfo.Builder builder, @NotNull PsiConstructorCall constructorCall,
                                                            @Nullable PsiJavaCodeReferenceElement classReference,
                                                            @NotNull PsiExpressionList list,
                                                            @NotNull PsiClass aClass,
                                                            PsiMethod @NotNull [] constructors,
                                                            JavaResolveResult @NotNull [] results,
                                                            TextRange fixRange) {
    if (classReference != null) {
      ConstructorParametersFixer.registerFixActions(classReference, constructorCall, builder, fixRange);
      ChangeTypeArgumentsFix.registerIntentions(results, list, builder, aClass, fixRange);
    }
    else if (aClass.isEnum()) {
      ConstructorParametersFixer.registerFixActions(aClass, PsiSubstitutor.EMPTY, constructorCall, builder, fixRange);
    }
    ChangeStringLiteralToCharInMethodCallFix.registerFixes(constructors, constructorCall, builder, fixRange);
    IntentionAction action = QuickFixFactory.getInstance().createSurroundWithArrayFix(constructorCall, null);
    builder.registerFix(action, null, null, fixRange, null);
    if (!PermuteArgumentsFix.registerFix(builder, constructorCall, toMethodCandidates(results), fixRange)) {
      registerChangeMethodSignatureFromUsageIntentions(results, list, builder, fixRange);
    }
    QuickFixAction.registerQuickFixActions(
      builder, constructorCall.getTextRange(), QuickFixFactory.getInstance().createCreateConstructorFromUsageFixes(constructorCall)
    );
    registerChangeParameterClassFix(constructorCall, list, builder, fixRange);
    RemoveRedundantArgumentsFix.registerIntentions(results, list, builder, fixRange);
  }
private static void registerFixesOnInvalidConstructorCall(@NotNull HighlightInfo.Builder builder, @NotNull PsiConstructorCall constructorCall,
                                                            @Nullable PsiJavaCodeReferenceElement classReference,
                                                            @NotNull PsiExpressionList list,
                                                            @NotNull PsiClass aClass,
                                                            PsiMethod @NotNull [] constructors,
                                                            JavaResolveResult @NotNull [] results,
                                                            TextRange fixRange)