public class XSwitchExpressions
extends java.lang.Object
Constructor and Description |
---|
XSwitchExpressions() |
Modifier and Type | Method and Description |
---|---|
LightweightTypeReference |
getSwitchVariableType(XSwitchExpression it) |
XExpression |
getThen(XCasePart casePart,
XSwitchExpression switchExpression) |
boolean |
isConstant(XCasePart casePart) |
boolean |
isJavaCaseExpression(XSwitchExpression it,
XCasePart casePart) |
boolean |
isJavaSwitchExpression(XSwitchExpression it) |
public boolean isJavaSwitchExpression(XSwitchExpression it)
public boolean isJavaCaseExpression(XSwitchExpression it, XCasePart casePart)
public LightweightTypeReference getSwitchVariableType(XSwitchExpression it)
public boolean isConstant(XCasePart casePart)
public XExpression getThen(XCasePart casePart, XSwitchExpression switchExpression)