public class ExtendedEarlyExitComputer
extends java.lang.Object
Constructor and Description |
---|
ExtendedEarlyExitComputer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDefiniteEarlyExit(XExpression expression) |
boolean |
isIntentionalEarlyExit(XExpression expression)
Returns
true for expressions that seem to be early exit expressions, e.g. |
public boolean isIntentionalEarlyExit(@Nullable XExpression expression)
true
for expressions that seem to be early exit expressions, e.g.
while(condition) { if (anotherCondition) return value changeResultOfFirstCondition }
public boolean isDefiniteEarlyExit(XExpression expression)