Package com.strobel.decompiler.ast
Class CatchBlock
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Block
-
- com.strobel.decompiler.ast.CatchBlock
-
public final class CatchBlock extends Block
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<TypeReference>
_caughtTypes
private TypeReference
_exceptionType
private Variable
_exceptionVariable
-
Constructor Summary
Constructors Constructor Description CatchBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TypeReference>
getCaughtTypes()
TypeReference
getExceptionType()
Variable
getExceptionVariable()
void
setExceptionType(TypeReference exceptionType)
void
setExceptionVariable(Variable exceptionVariable)
void
writeTo(ITextOutput output)
-
Methods inherited from class com.strobel.decompiler.ast.Block
getBody, getChildren, getEntryGoto, setEntryGoto
-
Methods inherited from class com.strobel.decompiler.ast.Node
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toString
-
-
-
-
Field Detail
-
_caughtTypes
private final Collection<TypeReference> _caughtTypes
-
_exceptionType
private TypeReference _exceptionType
-
_exceptionVariable
private Variable _exceptionVariable
-
-
Method Detail
-
getCaughtTypes
public final java.util.List<TypeReference> getCaughtTypes()
-
getExceptionType
public final TypeReference getExceptionType()
-
setExceptionType
public final void setExceptionType(TypeReference exceptionType)
-
getExceptionVariable
public final Variable getExceptionVariable()
-
setExceptionVariable
public final void setExceptionVariable(Variable exceptionVariable)
-
writeTo
public final void writeTo(ITextOutput output)
-
-