1 package no.uio.ifi.refaktor.analyze.collectors;
3 import no.uio.ifi.refaktor.analyze.exceptions.IllegalStatementFoundException;
5 import org.eclipse.jdt.core.dom.ASTVisitor;
6 import org.eclipse.jdt.core.dom.ReturnStatement;
8 public class IllegalReturnStatementChecker extends ASTVisitor {
11 public boolean visit(ReturnStatement node) {
12 throw new IllegalStatementFoundException(node);