Class JStmtSwitch
- java.lang.Object
-
- com.inductiveautomation.snap.javatree.JNode
-
- com.inductiveautomation.snap.javatree.JStmt
-
- com.inductiveautomation.snap.javatree.JStmtSwitch
-
public class JStmtSwitch extends JStmt
A Java statement for SwitchStatement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJStmtSwitch.SwitchLabelA class to represent individual labels in a switch statement.
-
Field Summary
Fields Modifier and Type Field Description JExprexpressionjava.util.List<JStmtSwitch.SwitchLabel>switchLabels
-
Constructor Summary
Constructors Constructor Description JStmtSwitch()
-
Method Summary
-
Methods inherited from class com.inductiveautomation.snap.javatree.JNode
addChild, 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
-
expression
public JExpr expression
-
switchLabels
public java.util.List<JStmtSwitch.SwitchLabel> switchLabels
-
-