Package com.strobel.expressions
Class SwitchCase
- java.lang.Object
-
- com.strobel.expressions.SwitchCase
-
public final class SwitchCase extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Expression_bodyprivate ExpressionList<? extends Expression>_testValues
-
Constructor Summary
Constructors Constructor Description SwitchCase(Expression body, ExpressionList<? extends Expression> testValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetBody()ExpressionList<? extends Expression>getTestValues()java.lang.StringtoString()SwitchCaseupdate(ExpressionList<? extends Expression> testValues, Expression body)
-
-
-
Field Detail
-
_testValues
private final ExpressionList<? extends Expression> _testValues
-
_body
private final Expression _body
-
-
Constructor Detail
-
SwitchCase
SwitchCase(Expression body, ExpressionList<? extends Expression> testValues)
-
-
Method Detail
-
getTestValues
public final ExpressionList<? extends Expression> getTestValues()
-
getBody
public final Expression getBody()
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
update
public final SwitchCase update(ExpressionList<? extends Expression> testValues, Expression body)
-
-