Package | Description |
---|---|
org.mule.devkit.generation | |
org.mule.devkit.generation.license | |
org.mule.devkit.generation.mule | |
org.mule.devkit.generation.mule.methods | |
org.mule.devkit.generation.mule.transformer | |
org.mule.devkit.generation.spring.beans.global | |
org.mule.devkit.generation.spring.beans.global.util | |
org.mule.devkit.model.code |
Library for generating Java source code
|
org.mule.devkit.oauth.generation |
Modifier and Type | Method and Description |
---|---|
protected GeneratedMethod |
AbstractMuleGenerator.generateInitialiseMethod(GeneratedClass messageProcessorClass,
Map<String,AbstractMuleGenerator.FieldVariableElement> fields,
Module module) |
protected GeneratedMethod |
AbstractMuleGenerator.generateSetFlowConstructMethod(GeneratedClass messageSourceClass,
Map<String,AbstractMuleGenerator.FieldVariableElement> fields) |
protected GeneratedMethod |
AbstractMuleGenerator.generateSetMuleContextMethod(GeneratedClass clazz,
Map<String,AbstractMuleGenerator.FieldVariableElement> fields) |
Modifier and Type | Method and Description |
---|---|
void |
LicenseCheckerGenerator.into(GeneratedMethod method) |
Modifier and Type | Method and Description |
---|---|
protected GeneratedMethod |
AbstractFilterGenerator.generateFindOrCreateMethod(GeneratedClass messageProcessorClass,
TypeVariable typeVar,
GeneratedField object,
GeneratedField muleContext) |
Modifier and Type | Method and Description |
---|---|
void |
MessageSourceGenerator.generateManagedExceptions(Module module,
SourceMethod sourceMethod,
GeneratedMethod getManagedExceptions) |
Modifier and Type | Method and Description |
---|---|
protected GeneratedMethod |
DoProcessTemplateMethod.getProcessInvokationContainerMethod(Type muleEvent) |
Modifier and Type | Method and Description |
---|---|
protected void |
StringToDateTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields) |
protected void |
StringToClassTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields) |
protected void |
StringToCalendarTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields) |
protected void |
StringToBigIntegerTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields) |
protected void |
StringToBigDecimalTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields) |
protected abstract void |
AbstractTransformerGenerator.doTransformImplementation(GeneratedMethod doTransformMethod,
GeneratedVariable srcParam,
GeneratedVariable encodingParam,
Map<String,GeneratedField> additionalFields)
Generate the method body of the doTransform method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractGlobalElementDefinitionParserGenerator.generateParseForConfigurables(Module module,
GeneratedMethod parseMethod,
GeneratedVariable elementParam,
GeneratedVariable parserContextParam,
GeneratedVariable builder) |
protected void |
AbstractGlobalElementDefinitionParserGenerator.generateParseHttpCallback(String elementName,
GeneratedMethod parse,
GeneratedVariable element,
GeneratedVariable builder,
String httpCallbackConfigElementName) |
Modifier and Type | Method and Description |
---|---|
void |
GlobalElementBeanDefinitionParserResolver.generatePostBeanDefinition(GeneratedMethod parseMethod,
GeneratedVariable elementParam,
GeneratedVariable parserContextParam,
GeneratedVariable builder,
GeneratedVariable definition) |
void |
GlobalElementBeanDefinitionParserResolver.generatePostBuilder(Module module,
GeneratedClass moduleObject,
GeneratedMethod parseMethod,
GeneratedVariable elementParam,
GeneratedVariable parserContextParam,
GeneratedVariable builder)
This method will be called to fill the
builder parameter with the concrete values of the concrete
implementation, that will vary for each custom scenario. |
Modifier and Type | Method and Description |
---|---|
GeneratedMethod |
GeneratedMethod._throws(Class<? extends Throwable> exception) |
GeneratedMethod |
GeneratedMethod._throws(TypeReference exception)
Add an exception to the list of exceptions that this
method may throw.
|
GeneratedMethod |
GeneratedClass.constructor(int mods)
Adds a constructor to this class.
|
GeneratedMethod |
GeneratedClass.getConstructor(Type[] argTypes)
Looks for a method that has the specified method signature
and return it.
|
GeneratedMethod |
GeneratedClass.getMethod(String name,
Type[] argTypes)
Looks for a method that has the specified method signature
and return it.
|
GeneratedMethod |
GeneratedClass.getter(GeneratedField field)
Generate a getter method for the specified field
|
GeneratedMethod |
GeneratedClass.method(int mods,
Class<?> type,
Class<?> narrowedType,
String name) |
GeneratedMethod |
GeneratedClass.method(int mods,
Class<?> type,
String name) |
GeneratedMethod |
GeneratedClass.method(int mods,
Type type,
String name)
Add a method to the list of method members of this DefinedClass instance.
|
GeneratedMethod |
GeneratedClass.setter(GeneratedField field)
Generate a setter method for the specified field
|
GeneratedMethod |
GeneratedClass.setterOverride(GeneratedField field)
Generate a setter and puts an override annotation on it
|
Modifier and Type | Method and Description |
---|---|
Iterator<GeneratedMethod> |
GeneratedClass.constructors()
Returns an iterator that walks the constructors defined in this class.
|
Collection<GeneratedMethod> |
GeneratedClass.methods()
Returns the set of methods defined in this class.
|
Modifier and Type | Method and Description |
---|---|
GeneratedInvocation |
GeneratedBlock.invoke(GeneratedExpression expr,
GeneratedMethod method)
Creates an invocation statement and adds it to this block.
|
static GeneratedInvocation |
ExpressionFactory.invoke(GeneratedExpression lhs,
GeneratedMethod method) |
GeneratedInvocation |
GeneratedExpression.invoke(GeneratedMethod method)
Returns "[this].[method]".
|
GeneratedInvocation |
GeneratedBlock.invoke(GeneratedMethod method)
Creates an invocation statement and adds it to this block.
|
static GeneratedInvocation |
ExpressionFactory.invoke(GeneratedMethod method) |
GeneratedInvocation |
AbstractExpression.invoke(GeneratedMethod method) |
GeneratedInvocation |
TypeReference.staticInvoke(GeneratedMethod method)
Generates a static method invocation.
|
Modifier and Type | Method and Description |
---|---|
protected GeneratedMethod |
AbstractOAuthAdapterGenerator.generateCreateConsumerMethod(GeneratedClass oauthAdapter,
OAuth oauth,
Module module) |
protected GeneratedMethod |
AbstractOAuthAdapterGenerator.generateInitialiseMethod(GeneratedClass oauthAdapter) |
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.