Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Method and Description |
---|---|
JBlock |
JConditional._else()
Create a block to be executed by "else" branch
|
JBlock |
JTryBlock._finally() |
JBlock |
JConditional._then()
Return the block to be excuted by the "then" branch
|
JBlock |
JBlock.add(JStatement s)
Adds a statement to this block
|
JBlock |
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 block
|
JBlock |
JDoLoop.body() |
JBlock |
JTryBlock.body() |
JBlock |
JMethod.body()
Get the block that makes up body of this method
|
JBlock |
JForLoop.body() |
JBlock |
JCase.body() |
JBlock |
JWhileLoop.body() |
JBlock |
JCatchBlock.body() |
JBlock |
JForEach.body() |
JBlock |
JDefinedClass.init()
Creates, if necessary, and returns the static initializer
for this class.
|
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.