| Package | Description |
|---|---|
| org.mule.devkit.model.code |
Library for generating Java source code
|
| Modifier and Type | Class and Description |
|---|---|
class |
GeneratedField
A field that can have a
GeneratedJavaDocComment associated with it |
| Modifier and Type | Method and Description |
|---|---|
GeneratedVariable |
GeneratedBlock.decl(int mods,
Type type,
String name,
GeneratedExpression init)
Adds a local variable declaration to this block
|
GeneratedVariable |
GeneratedBlock.decl(Type type,
String name)
Adds a local variable declaration to this block
|
GeneratedVariable |
GeneratedBlock.decl(Type type,
String name,
GeneratedExpression init)
Adds a local variable declaration to this block
|
GeneratedVariable |
GeneratedVariable.init(GeneratedExpression init)
Initialize this variable
|
GeneratedVariable |
GeneratedForLoop.init(int mods,
Type type,
String var,
GeneratedExpression e) |
GeneratedVariable |
GeneratedForLoop.init(Type type,
String var,
GeneratedExpression e) |
GeneratedVariable[] |
GeneratedMethod.listParams()
Returns all the parameters in an array.
|
GeneratedVariable |
GeneratedMethod.listVarParam()
Returns the variable parameter
|
GeneratedVariable |
GeneratedMethod.param(Class<?> type,
String name) |
GeneratedVariable |
GeneratedMethod.param(int mods,
Class<?> type,
String name) |
GeneratedVariable |
GeneratedMethod.param(int mods,
Type type,
String name)
Add the specified variable to the list of parameters
for this method signature.
|
GeneratedVariable |
GeneratedCatchBlock.param(String name) |
GeneratedVariable |
GeneratedMethod.param(Type type,
String name) |
GeneratedVariable |
GeneratedForEach.var()
Returns a reference to the loop variable.
|
GeneratedVariable |
GeneratedMethod.varParam(Class<?> type,
String name) |
GeneratedVariable |
GeneratedMethod.varParam(Type type,
String name)
Add the specified variable argument to the list of parameters
for this method signature.
|
| Modifier and Type | Method and Description |
|---|---|
List<GeneratedVariable> |
GeneratedMethod.params()
Returns the list of variable of this method.
|
| Modifier and Type | Method and Description |
|---|---|
CommentPart |
GeneratedJavaDocComment.addParam(GeneratedVariable param)
Append a text to an @param tag.
|
Formatter |
Formatter.b(GeneratedVariable v)
Cause the Variable to generate source for itself
|
void |
GeneratedForLoop.init(GeneratedVariable v,
GeneratedExpression e) |
static GeneratedFieldReference |
ExpressionFactory.ref(GeneratedExpression lhs,
GeneratedVariable field) |
GeneratedFieldReference |
GeneratedExpression.ref(GeneratedVariable field) |
GeneratedFieldReference |
AbstractExpression.ref(GeneratedVariable field) |
GeneratedFieldReference |
TypeReference.staticRef(GeneratedVariable field)
Static field reference.
|
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.