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
Fields in com.sun.codemodel declared as JBlock Modifier and Type Field Description private JBlockJConditional. _elseJBlock of statements for optional "else" clauseprivate JBlockJTryBlock. _finallyprivate JBlockJConditional. _thenJBlock of statements for "then" clauseprivate JBlockJCase. bodyJBlock of statements which makes up body of this While statementprivate JBlockJCatchBlock. bodyprivate JBlockJDoLoop. bodyJBlock of statements which makes up body of this Do statementprivate JBlockJForEach. bodyprivate JBlockJForLoop. bodyprivate JBlockJMethod. bodyJBlock of statements that makes up the body this methodprivate JBlockJTryBlock. bodyprivate JBlockJWhileLoop. bodyJBlock of statements which makes up body of this While statementprivate JBlockJDefinedClass. initStatic initializer, if this class has oneMethods in com.sun.codemodel that return JBlock Modifier and Type Method Description JBlockJConditional. _else()Create a block to be executed by "else" branchJBlockJTryBlock. _finally()JBlockJConditional. _then()Return the block to be excuted by the "then" branchJBlockJBlock. add(JStatement s)Adds a statement to this blockJBlockJBlock. assign(JAssignmentTarget lhs, JExpression exp)Creates an assignment statement and adds it to this block.JBlockJBlock. assignPlus(JAssignmentTarget lhs, JExpression exp)JBlockJBlock. block()Create a sub-block and add it to this blockJBlockJCase. body()JBlockJCatchBlock. body()JBlockJDoLoop. body()JBlockJForEach. body()JBlockJForLoop. body()JBlockJMethod. body()Get the block that makes up body of this methodJBlockJTryBlock. body()JBlockJWhileLoop. body()JBlockJDefinedClass. init()Creates, if necessary, and returns the static initializer for this class.
-