Class JStmtTry
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JStmt
- 
- com.inductiveautomation.snap.javatree.JStmtTry
 
 
 
- 
 public class JStmtTry extends JStmt A Java statement for TryStatement.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJStmtTry.CatchBlockA JNode for a catch block
 - 
Field SummaryFields Modifier and Type Field Description java.util.List<JStmtTry.CatchBlock>catchBlocksJStmtBlockfinallyBlockJStmtBlocktryBlock
 - 
Constructor SummaryConstructors Constructor Description JStmtTry()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatementBlock(JStmtBlock aBlock)Adds a statement block.- 
Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNameImpl, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
 
- 
 
- 
- 
- 
Field Detail- 
tryBlockpublic JStmtBlock tryBlock 
 - 
catchBlockspublic java.util.List<JStmtTry.CatchBlock> catchBlocks 
 - 
finallyBlockpublic JStmtBlock finallyBlock 
 
- 
 - 
Method Detail- 
addStatementBlockpublic void addStatementBlock(JStmtBlock aBlock) Adds a statement block.
 
- 
 
-