com.sun.codemodel
Class JCase

java.lang.Object
  extended by com.sun.codemodel.JCase
All Implemented Interfaces:
JStatement

public final class JCase
extends java.lang.Object
implements JStatement

Case statement


Method Summary
 JBlock body()
           
 JExpression label()
           
 void state(JFormatter f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

label

public JExpression label()

body

public JBlock body()

state

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


Copyright © 2005-2010 Sun Microsystems. All Rights Reserved.