Uses of Class
com.sun.codemodel.JBlock
-
Packages that use JBlock Package Description com.sun.codemodel Library for generating Java source code -
-
Uses of JBlock in com.sun.codemodel
Methods in com.sun.codemodel that return JBlock Modifier and Type Method Description JBlock
JConditional. _else()
Create a block to be executed by "else" branchJBlock
JTryBlock. _finally()
JBlock
JConditional. _then()
Return the block to be excuted by the "then" branchJBlock
JBlock. add(JStatement s)
Adds a statement to this blockJBlock
JBlock. assign(JAssignmentTarget lhs, JExpression exp)
Creates an assignment statement and adds it to this block.JBlock
JBlock. assignPlus(JAssignmentTarget lhs, JExpression exp)
JBlock
JBlock. block()
Create a sub-block and add it to this blockJBlock
JCase. body()
JBlock
JCatchBlock. body()
JBlock
JDoLoop. body()
JBlock
JForEach. body()
JBlock
JForLoop. body()
JBlock
JMethod. body()
Get the block that makes up body of this methodJBlock
JTryBlock. body()
JBlock
JWhileLoop. body()
JBlock
JDefinedClass. init()
Creates, if necessary, and returns the static initializer for this class.
-