void (@NotNull GrCatchClause catchClause) { super.visitCatchClause(catchClause); final GrOpenBlock body = catchClause.getBody(); if (body == null || !isEmpty(body)) { return; } final GrParameter parameter = catchClause.getParameter(); if (parameter == null) return; if (myIgnore && GrExceptionUtil.ignore(parameter)) return; LocalQuickFix fix = QuickFixFactory.getInstance().createRenameElementFix(parameter, NEW_NAME); final LocalQuickFix[] fixes = myIgnore ? new LocalQuickFix[]{fix} : LocalQuickFix.EMPTY_ARRAY; registerError(catchClause.getFirstChild(), GroovyBundle.message("inspection.message.empty.ref.block"), fixes, ProblemHighlightType.GENERIC_ERROR_OR_WARNING); }