Uses of Interface
com.sun.codemodel.JStatement

Packages that use JStatement
com.sun.codemodel Library for generating Java source code 
 

Uses of JStatement in com.sun.codemodel
 

Classes in com.sun.codemodel that implement JStatement
 class JAssignment
          Assignment statements, which are also expressions.
 class JBlock
          A block of Java code, which may contain statements and local declarations.
 class JCase
          Case statement
 class JConditional
          If statement, with optional else clause
 class JDoLoop
          Do loops
 class JForEach
          ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.
 class JForLoop
          For statement
 class JInvocation
          JMethod invocation
 class JLabel
          Label that can be used for continue and break.
 class JSwitch
          Switch statement
 class JTryBlock
          Try statement with Catch and/or Finally clause
 class JWhileLoop
          While statement
 

Methods in com.sun.codemodel that return JStatement
 JStatement JBlock.directStatement(String source)
          Creates a "literal" statement directly.
 

Methods in com.sun.codemodel with parameters of type JStatement
 JBlock JBlock.add(JStatement s)
          Adds a statement to this block
 JFormatter JFormatter.s(JStatement s)
          Cause the JStatement to generate source for itself
 



Copyright © 2005-2012 Oracle. All Rights Reserved.