void (ProblemReporter reporter, @InspectionMessage String message, PsiExpression expression, PsiExpression top, boolean alwaysNull) { PsiParameter parameter = MethodCallUtils.getParameterForArgument(top); if (parameter != null && BaseIntentionAction.canModify(parameter) && AnnotationUtil.isAnnotatingApplicable(parameter)) { List<LocalQuickFix> fixes = createNPEFixes(expression, top, reporter.isOnTheFly(), alwaysNull); fixes.add(AddAnnotationPsiFix.createAddNullableFix(parameter)); reporter.registerProblem(expression, message, fixes.toArray(LocalQuickFix.EMPTY_ARRAY)); } }