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
_body
private 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 Expression
getBody()
ExpressionList<? extends Expression>
getTestValues()
java.lang.String
toString()
SwitchCase
update(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:
toString
in classjava.lang.Object
-
update
public final SwitchCase update(ExpressionList<? extends Expression> testValues, Expression body)
-
-