|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEarlyExitComputer
Nested Class Summary | |
---|---|
static class |
IEarlyExitComputer.ExitPoint
|
Method Summary | |
---|---|
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. a return or throw expression. |
Method Detail |
---|
boolean isEarlyExit(XExpression expression)
true
if the given expression will definitely exit early.java.util.Collection<IEarlyExitComputer.ExitPoint> getExitPoints(XExpression expression)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |