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
_body
private Expression
_filter
private Type
_test
private 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 Expression
getBody()
Expression
getFilter()
Type
getTest()
ParameterExpression
getVariable()
java.lang.String
toString()
CatchBlock
update(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:
toString
in classjava.lang.Object
-
update
public final CatchBlock update(ParameterExpression variable, Expression filter, Expression body)
-
-