
public class JSwitchStatement extends JStatement
| Constructor and Description | 
|---|
JSwitchStatement(SourceInfo info,
                JExpression expr,
                JBlock body)  | 
| Modifier and Type | Method and Description | 
|---|---|
JBlock | 
getBody()  | 
JExpression | 
getExpr()  | 
void | 
traverse(JVisitor visitor,
        Context ctx)
Causes this object to have the visitor visit itself and its children. 
 | 
unconditionalControlBreakgetSourceInfo, setSourceInfo, toSource, toStringpublic JSwitchStatement(SourceInfo info, JExpression expr, JBlock body)
public JBlock getBody()
public JExpression getExpr()
public void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.