Package com.strobel.expressions
Class CatchBlock
- java.lang.Object
-
- com.strobel.expressions.CatchBlock
-
public final class CatchBlock extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private Expression_bodyprivate Expression_filterprivate Type_testprivate ParameterExpression_variable
-
Constructor Summary
Constructors Constructor Description CatchBlock(Type test, ParameterExpression variable, Expression body, Expression filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetBody()ExpressiongetFilter()TypegetTest()ParameterExpressiongetVariable()java.lang.StringtoString()CatchBlockupdate(ParameterExpression variable, Expression filter, Expression body)
-
-
-
Field Detail
-
_test
private final Type _test
-
_variable
private final ParameterExpression _variable
-
_body
private final Expression _body
-
_filter
private final Expression _filter
-
-
Constructor Detail
-
CatchBlock
CatchBlock(Type test, ParameterExpression variable, Expression body, Expression filter)
-
-
Method Detail
-
getTest
public final Type getTest()
-
getVariable
public final ParameterExpression getVariable()
-
getBody
public final Expression getBody()
-
getFilter
public final Expression getFilter()
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
update
public final CatchBlock update(ParameterExpression variable, Expression filter, Expression body)
-
-