void (@NotNull PsiClass aClass, @NotNull PsiSubstitutor substitutor, @NotNull PsiConstructorCall constructorCall, @NotNull HighlightInfo.Builder builder, @NotNull TextRange fixRange) { PsiMethod[] methods = aClass.getConstructors(); CandidateInfo[] candidates = new CandidateInfo[methods.length]; for (int i = 0; i < candidates.length; i++) { candidates[i] = new CandidateInfo(methods[i], substitutor); } CastMethodArgumentFix.REGISTRAR.registerCastActions(candidates, constructorCall, builder, fixRange); AddTypeArgumentsFix.REGISTRAR.registerCastActions(candidates, constructorCall, builder, fixRange); WrapObjectWithOptionalOfNullableFix.REGISTAR.registerCastActions(candidates, constructorCall, builder, fixRange); WrapWithAdapterMethodCallFix.registerCastActions(candidates, constructorCall, builder, fixRange); }