Web Site

org.codehaus.janino
Class Java.SwitchStatement

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Statement
          extended byorg.codehaus.janino.Java.BreakableStatement
              extended byorg.codehaus.janino.Java.SwitchStatement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Enclosing class:
Java

public static final class Java.SwitchStatement
extends Java.BreakableStatement

14.10 The "switch" Statement


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.SwitchStatement(Location location, Java.Scope enclosingScope)
           
 
Method Summary
 void addSwitchBlockStatementGroup(Java.SwitchBlockStatementGroup sbsg)
           
 void setCondition(Java.Rvalue condition)
           
 void visit(org.codehaus.janino.Visitor.BlockStatementVisitor visitor)
           
 
Methods inherited from class org.codehaus.janino.Java.Statement
getEnclosingScope, getLocation, throwParseException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 

Constructor Detail

Java.SwitchStatement

public Java.SwitchStatement(Location location,
                            Java.Scope enclosingScope)
Method Detail

setCondition

public void setCondition(Java.Rvalue condition)

addSwitchBlockStatementGroup

public void addSwitchBlockStatementGroup(Java.SwitchBlockStatementGroup sbsg)

visit

public final void visit(org.codehaus.janino.Visitor.BlockStatementVisitor visitor)

Web Site