void (@NotNull PsiVariable parameter, @Nullable PsiType itemType, @Nullable PsiExpression expr, @Nullable HighlightInfo.Builder highlightInfo) { for (IntentionAction action : getChangeVariableTypeFixes(parameter, itemType)) { if (highlightInfo != null) { highlightInfo.registerFix(action, null, null, null, null); } } registerChangeReturnTypeFix(highlightInfo, expr, parameter.getType()); }