Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
com.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.
|
Modifier and Type | Method | 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 |
JCase.body() |
|
JBlock |
JCatchBlock.body() |
|
JBlock |
JDoLoop.body() |
|
JBlock |
JForEach.body() |
|
JBlock |
JForLoop.body() |
|
JBlock |
JMethod.body() |
Get the block that makes up body of this method
|
JBlock |
JTryBlock.body() |
|
JBlock |
JWhileLoop.body() |
|
JBlock |
JDefinedClass.init() |
Creates, if necessary, and returns the static initializer
for this class.
|
JBlock |
JDefinedClass.instanceInit() |
Creates, if necessary, and returns the instance initializer
for this class.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SingleField.Accessor.unsetValues(JBlock body) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract JBlock |
LazyBlockReference.create() |
Called when a block needs to be created.
|
JBlock |
BlockReference.get(boolean create) |
|
JBlock |
ExistingBlockReference.get(boolean create) |
|
JBlock |
LazyBlockReference.get(boolean create) |
Constructor | Description |
---|---|
ExistingBlockReference(JBlock _block) |
Modifier and Type | Method | Description |
---|---|---|
void |
FieldAccessor.fromRawValue(JBlock block,
String uniqueName,
JExpression $var) |
Sets the value of the field from the specified expression.
|
void |
FieldAccessor.toRawValue(JBlock block,
JVar $var) |
Dumps everything in this field into the given variable.
|
void |
FieldAccessor.unsetValues(JBlock body) |
Generates a code fragment to remove any "set" value
and move this field to the "unset" state.
|
Copyright © 2018 Oracle Corporation. All rights reserved.