void (@NotNull PsiJavaCodeReferenceElement ctrRef, @NotNull PsiConstructorCall constructorCall, @NotNull HighlightInfo.Builder builder, @NotNull TextRange fixRange) { JavaResolveResult resolved = ctrRef.advancedResolve(false); PsiClass aClass = (PsiClass) resolved.getElement(); PsiSubstitutor substitutor = resolved.getSubstitutor(); if (aClass == null) return; registerFixActions(aClass, substitutor, constructorCall, builder, fixRange); }