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