Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Field and Description |
---|---|
private JBlock |
JConditional._else
JBlock of statements for optional "else" clause
|
private JBlock |
JTryBlock._finally |
private JBlock |
JConditional._then
JBlock of statements for "then" clause
|
private JBlock |
JForLoop.body |
private JBlock |
JCatchBlock.body |
private JBlock |
JWhileLoop.body
JBlock of statements which makes up body of this While statement
|
private JBlock |
JCase.body
JBlock of statements which makes up body of this While statement
|
private JBlock |
JDoLoop.body
JBlock of statements which makes up body of this Do statement
|
private JBlock |
JTryBlock.body |
private JBlock |
JForEach.body |
private JBlock |
JMethod.body
JBlock of statements that makes up the body this method
|
private JBlock |
JDefinedClass.init
Static initializer, if this class has one
|
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 |
JForLoop.body() |
JBlock |
JCatchBlock.body() |
JBlock |
JWhileLoop.body() |
JBlock |
JCase.body() |
JBlock |
JDoLoop.body() |
JBlock |
JTryBlock.body() |
JBlock |
JForEach.body() |
JBlock |
JMethod.body()
Get the block that makes up body of this method
|
JBlock |
JDefinedClass.init()
Creates, if necessary, and returns the static initializer
for this class.
|