jdeparser 1.0.0.Final-redhat-1

org.jboss.jdeparser
Class JSwitch

java.lang.Object
  extended by org.jboss.jdeparser.JSwitch
All Implemented Interfaces:
JStatement

public final class JSwitch
extends Object
implements JStatement

Switch statement


Method Summary
 JCase _case(JExpression label)
           
 JCase _default()
           
 Iterator<JCase> cases()
           
 void state(JFormatter f)
           
 JExpression test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

test

public JExpression test()

cases

public Iterator<JCase> cases()

_case

public JCase _case(JExpression label)

_default

public JCase _default()

state

public void state(JFormatter f)
Specified by:
state in interface JStatement

jdeparser 1.0.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.