Uses of Class
com.sun.codemodel.JBlock
-
Packages that use JBlock Package Description com.sun.codemodel Library for generating Java source codecom.sun.tools.xjc.generator.bean.field FieldRenderer and its implementation classes.com.sun.tools.xjc.generator.util com.sun.tools.xjc.outline Provides the outline of the generated Java source code so that additional processing (such as adding more annotations) can be done on the generated code. -
-
Uses of JBlock in com.sun.codemodel
Methods 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.JBlockJDefinedClass. instanceInit()Creates, if necessary, and returns the instance initializer for this class. -
Uses of JBlock in com.sun.tools.xjc.generator.bean.field
Methods in com.sun.tools.xjc.generator.bean.field with parameters of type JBlock Modifier and Type Method Description voidSingleField.Accessor. unsetValues(JBlock body) -
Uses of JBlock in com.sun.tools.xjc.generator.util
Methods in com.sun.tools.xjc.generator.util that return JBlock Modifier and Type Method Description protected abstract JBlockLazyBlockReference. create()Called when a block needs to be created.JBlockBlockReference. get(boolean create)JBlockExistingBlockReference. get(boolean create)JBlockLazyBlockReference. get(boolean create)Constructors in com.sun.tools.xjc.generator.util with parameters of type JBlock Constructor Description ExistingBlockReference(JBlock _block) -
Uses of JBlock in com.sun.tools.xjc.outline
Methods in com.sun.tools.xjc.outline with parameters of type JBlock Modifier and Type Method Description voidFieldAccessor. fromRawValue(JBlock block, String uniqueName, JExpression $var)Sets the value of the field from the specified expression.voidFieldAccessor. toRawValue(JBlock block, JVar $var)Dumps everything in this field into the given variable.voidFieldAccessor. unsetValues(JBlock body)Generates a code fragment to remove any "set" value and move this field to the "unset" state.
-