void (@NotNull PsiReturnStatement statement) { super.visitReturnStatement(statement); final Ref<Boolean> constructorRef = Ref.create(); if (isReturnRedundant(statement, ignoreInThenBranch, true, constructorRef)) { registerError(statement.getFirstChild(), constructorRef.get()); } }