| 25 | import java.util.List; |
| 26 | |
| 27 | public abstract class JumpStmt extends AbstractStmt { |
| 28 | |
| 29 | /** |
| 30 | * @return possible jump targets of this statement. |
| 31 | */ |
| 32 | public abstract List<Stmt> getTargets(); |
| 33 | |
| 34 | /** |
| 35 | * Convert a target statement to its String representation. |
| 36 | */ |
| 37 | public String toString(Stmt target) { |
| 38 | return target == null ? |
| 39 | "[unknown]" : Integer.toString(target.getIndex()); |
| 40 | } |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected