public interface IEarlyExitComputer
| Modifier and Type | Interface and Description |
|---|---|
static class |
IEarlyExitComputer.ExitPoint |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<IEarlyExitComputer.ExitPoint> |
getExitPoints(XExpression expression) |
boolean |
isEarlyExit(XExpression expression)
An expression is considered to be left early if all branches end with an explicit
termination, e.g.
|
boolean isEarlyExit(XExpression expression)
true if the given expression will definitely exit early.java.util.Collection<IEarlyExitComputer.ExitPoint> getExitPoints(XExpression expression)