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>
_catchBlocks
private Block
_finallyBlock
private boolean
_synchronized
private 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()
Block
getFinallyBlock()
Block
getTryBlock()
boolean
isSynchronized()
void
setFinallyBlock(Block finallyBlock)
void
setSynchronized(boolean simpleSynchronized)
void
setTryBlock(Block tryBlock)
void
writeTo(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:
getChildren
in classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-