Uses of Interface
com.sun.codemodel.JStatement
-
Packages that use JStatement Package Description com.sun.codemodel Library for generating Java source code -
-
Uses of JStatement in com.sun.codemodel
Classes in com.sun.codemodel that implement JStatement Modifier and Type Class Description 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 statementclass
JConditional
If statement, with optional else clauseclass
JDoLoop
Do loopsclass
JForEach
ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.class
JForLoop
For statementclass
JInvocation
JMethod invocationclass
JLabel
Label that can be used for continue and break.class
JSwitch
Switch statementclass
JTryBlock
Try statement with Catch and/or Finally clauseclass
JWhileLoop
While statementMethods in com.sun.codemodel that return JStatement Modifier and Type Method Description JStatement
JBlock. directStatement(java.lang.String source)
Creates a "literal" statement directly.Methods in com.sun.codemodel with parameters of type JStatement Modifier and Type Method Description JBlock
JBlock. add(JStatement s)
Adds a statement to this blockJFormatter
JFormatter. s(JStatement s)
Cause the JStatement to generate source for itself
-