Package com.strobel.decompiler.ast
Class TryCatchBlock
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.TryCatchBlock
-
public final class TryCatchBlock extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CatchBlock>_catchBlocksprivate Block_finallyBlockprivate boolean_synchronizedprivate Block_tryBlock
-
Constructor Summary
Constructors Constructor Description TryCatchBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CatchBlock>getCatchBlocks()java.util.List<Node>getChildren()BlockgetFinallyBlock()BlockgetTryBlock()booleanisSynchronized()voidsetFinallyBlock(Block finallyBlock)voidsetSynchronized(boolean simpleSynchronized)voidsetTryBlock(Block tryBlock)voidwriteTo(ITextOutput output)-
Methods inherited from class com.strobel.decompiler.ast.Node
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toString
-
-
-
-
Field Detail
-
_catchBlocks
private final java.util.List<CatchBlock> _catchBlocks
-
_tryBlock
private Block _tryBlock
-
_finallyBlock
private Block _finallyBlock
-
_synchronized
private boolean _synchronized
-
-
Method Detail
-
getTryBlock
public final Block getTryBlock()
-
setTryBlock
public final void setTryBlock(Block tryBlock)
-
getCatchBlocks
public final java.util.List<CatchBlock> getCatchBlocks()
-
getFinallyBlock
public final Block getFinallyBlock()
-
setFinallyBlock
public final void setFinallyBlock(Block finallyBlock)
-
isSynchronized
public final boolean isSynchronized()
-
setSynchronized
public final void setSynchronized(boolean simpleSynchronized)
-
getChildren
public final java.util.List<Node> getChildren()
- Overrides:
getChildrenin classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-