]> git.uio.no Git - ifi-stolz-refaktor.git/blame - case-study/refaktor-before/src/no/uio/ifi/refaktor/analyze/checkers/IllegalReturnStatementChecker.java
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / refaktor-before / src / no / uio / ifi / refaktor / analyze / checkers / IllegalReturnStatementChecker.java
CommitLineData
1b2798f6
EK
1package no.uio.ifi.refaktor.analyze.checkers;
2
3import no.uio.ifi.refaktor.analyze.exceptions.IllegalStatementFoundException;
4
5import org.eclipse.jdt.core.dom.ASTVisitor;
6import org.eclipse.jdt.core.dom.ReturnStatement;
7
8class IllegalReturnStatementChecker extends ASTVisitor {
9
10 @Override
11 public boolean visit(ReturnStatement node) {
12 throw new IllegalStatementFoundException(node);
13 }
14}