A B C D E F G H I J L M N O P Q R S T U V W X Z _ 

A

ABSTRACT - Static variable in class org.mule.devkit.model.code.Modifier
 
AbstractExpression - Class in org.mule.devkit.model.code
Provides default implementations for GeneratedExpression.
AbstractExpression() - Constructor for class org.mule.devkit.model.code.AbstractExpression
 
add(Object) - Method in class org.mule.devkit.model.code.CommentPart
 
add(String, String) - Method in class org.mule.devkit.model.code.fmt.PropertyFile
Adds key/value pair into the property file.
add(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedArray
Add an element to the array initializer
add(Statement) - Method in class org.mule.devkit.model.code.GeneratedBlock
Adds a statement to this block
addDeprecated() - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an @deprecated tag to the javadoc, with the associated message.
addParam(String) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
Append a text to a @param tag to the javadoc
addParam(GeneratedVariable) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
Append a text to an @param tag.
addResourceFile(ResourceFile) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a new resource file to this package.
addReturn(String) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
Appends a text to @return tag.
addThrows(Class<? extends Throwable>) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an @throws tag to the javadoc
addThrows(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an @throws tag to the javadoc
addXdoclet(String) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an xdoclet.
addXdoclet(String, Map<String, String>) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an xdoclet.
addXdoclet(String, String, String) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
add an xdoclet.
Annotable - Interface in org.mule.devkit.model.code
Annotatable program elements.
annotate(TypeReference) - Method in interface org.mule.devkit.model.code.Annotable
Adds an annotation to this program element.
annotate(Class<? extends Annotation>) - Method in interface org.mule.devkit.model.code.Annotable
Adds an annotation to this program element.
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds a new annotation to the array.
annotate(TypeReference) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds a new annotation to the array.
annotate(TypeReference) - Method in class org.mule.devkit.model.code.EnumConstant
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.EnumConstant
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedClass
Adding ability to annotate a class
annotate(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedClass
Adding ability to annotate a class
annotate(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedMethod
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedMethod
Adds an annotation to this variable.
annotate(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
annotate(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedVariable
Adds an annotation to this variable.
annotate(Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedVariable
Adds an annotation to this variable.
annotate2(Class<W>) - Method in interface org.mule.devkit.model.code.Annotable
Adds an annotation to this program element and returns a type-safe writer to fill in the values of such annotations.
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
 
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.EnumConstant
 
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.GeneratedClass
 
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
annotate2(Class<W>) - Method in class org.mule.devkit.model.code.GeneratedVariable
 
AnnotationArrayMember - Class in org.mule.devkit.model.code
Represents an arrays as annotation members

This class implements Annotable to allow new annotations to be added as a member of the array.

annotationParam(String, Class<? extends Annotation>) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation For adding class values as param
annotations() - Method in interface org.mule.devkit.model.code.Annotable
Read-only live view of all annotations on this Annotable
annotations() - Method in class org.mule.devkit.model.code.AnnotationArrayMember
annotations() - Method in class org.mule.devkit.model.code.EnumConstant
annotations() - Method in class org.mule.devkit.model.code.GeneratedClass
annotations() - Method in class org.mule.devkit.model.code.GeneratedMethod
 
annotations() - Method in class org.mule.devkit.model.code.GeneratedPackage
 
annotations() - Method in class org.mule.devkit.model.code.GeneratedVariable
 
AnnotationValue - Class in org.mule.devkit.model.code
Things that can be values of an annotation element.
AnnotationValue() - Constructor for class org.mule.devkit.model.code.AnnotationValue
 
AnnotationWriter<A extends Annotation> - Interface in org.mule.devkit.model.code
Base interface for typed annotation writer.
anonymousClass(TypeReference) - Method in class org.mule.devkit.model.code.CodeModel
Creates a new anonymous class.
anonymousClass(Class<?>) - Method in class org.mule.devkit.model.code.CodeModel
 
append(Object) - Method in class org.mule.devkit.model.code.CommentPart
Appends a new value.
append(Object) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
 
arg(GeneratedExpression) - Method in class org.mule.devkit.model.code.EnumConstant
Add an expression to this constructor's argument list
arg(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedInvocation
Add an expression to this invocation's argument list
arg(String) - Method in class org.mule.devkit.model.code.GeneratedInvocation
Adds a literal argument.
array() - Method in class org.mule.devkit.model.code.PrimitiveType
 
array() - Method in class org.mule.devkit.model.code.Type
Create an array type of this type.
array() - Method in class org.mule.devkit.model.code.TypeReference
 
array(GeneratedExpression) - Method in class org.mule.devkit.model.code.TypeReference
 
assign(GeneratedExpression) - Method in interface org.mule.devkit.model.code.AssignmentTarget
 
assign(AssignmentTarget, GeneratedExpression) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
assign(AssignmentTarget, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an assignment statement and adds it to this block.
assign(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedFieldReference
 
assign(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedVariable
 
Assignment - Class in org.mule.devkit.model.code
Assignment statements, which are also expressions.
AssignmentTarget - Interface in org.mule.devkit.model.code
Marker interface for code components that can be placed to the left of '=' in an assignment.
assignPlus(GeneratedExpression) - Method in interface org.mule.devkit.model.code.AssignmentTarget
 
assignPlus(AssignmentTarget, GeneratedExpression) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
assignPlus(AssignmentTarget, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
 
assignPlus(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedFieldReference
 
assignPlus(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedVariable
 

B

b(GeneratedVariable) - Method in class org.mule.devkit.model.code.Formatter
Cause the Variable to generate source for itself
band(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
band(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Bit-wise AND '&'.
band(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
BinaryFile - Class in org.mule.devkit.model.code.fmt
Allows the application to use OutputStream to define data that will be stored into a file.
BinaryFile(String) - Constructor for class org.mule.devkit.model.code.fmt.BinaryFile
 
binaryName() - Method in class org.mule.devkit.model.code.GeneratedClass
 
binaryName() - Method in class org.mule.devkit.model.code.Type
Gets the binary name of the type.
bind(Formatter) - Method in class org.mule.devkit.model.code.GeneratedVariable
 
block() - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a sub-block and add it to this block
body() - Method in class org.mule.devkit.model.code.GeneratedCatchBlock
 
body() - Method in class org.mule.devkit.model.code.GeneratedDoLoop
 
body() - Method in class org.mule.devkit.model.code.GeneratedForEach
 
body() - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
body() - Method in class org.mule.devkit.model.code.GeneratedMethod
Get the block that makes up body of this method
body() - Method in class org.mule.devkit.model.code.GeneratedSwitchCase
 
body() - Method in class org.mule.devkit.model.code.GeneratedTry
 
body() - Method in class org.mule.devkit.model.code.GeneratedWhileLoop
 
BOOLEAN - Variable in class org.mule.devkit.model.code.CodeModel
 
bor(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
bor(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Bit-wise OR '|'.
bor(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
bound(TypeReference) - Method in class org.mule.devkit.model.code.TypeVariable
Adds a bound to this variable.
boxify() - Method in class org.mule.devkit.model.code.PrimitiveType
Obtains the wrapper class for this primitive type.
boxify() - Method in class org.mule.devkit.model.code.Type
If this class is a primitive type, return the boxed class.
boxify() - Method in class org.mule.devkit.model.code.TypeReference
Deprecated.
calling this method from TypeReference would be meaningless, since it's always guaranteed to return this.
boxToPrimitive - Static variable in class org.mule.devkit.model.code.CodeModel
The reverse look up for CodeModel.primitiveToBox
build() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
build() - Method in class org.mule.devkit.model.code.CodeModel
 
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.BinaryFile
 
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.PropertyFile
 
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.SerializedObject
called by Package to serialize the object
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.StaticFile
 
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.StaticJavaFile
 
build(OutputStream) - Method in class org.mule.devkit.model.code.fmt.TextFile
 
build(OutputStream) - Method in class org.mule.devkit.model.code.ResourceFile
called by Package to produce the file image.
BYTE - Variable in class org.mule.devkit.model.code.CodeModel
 

C

cand(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
cand(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Logical AND '&&'.
cand(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
canEncode(char) - Method in class org.mule.devkit.model.code.util.MS1252Encoder
 
cases() - Method in class org.mule.devkit.model.code.GeneratedSwitch
 
cast(Type, GeneratedExpression) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
CHAR - Variable in class org.mule.devkit.model.code.CodeModel
 
ClassAlreadyExistsException - Exception in org.mule.devkit.model.code
Indicates that the class is already created.
ClassAlreadyExistsException(GeneratedClass) - Constructor for exception org.mule.devkit.model.code.ClassAlreadyExistsException
 
ClassContainer - Interface in org.mule.devkit.model.code
The common aspect of a package and a class.
classes() - Method in interface org.mule.devkit.model.code.ClassContainer
Returns an iterator that walks the nested classes defined in this class.
classes() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns an iterator that walks the nested classes defined in this class.
classes() - Method in class org.mule.devkit.model.code.GeneratedPackage
Returns an iterator that walks the top-level classes defined in this package.
ClassNameComparator - Class in org.mule.devkit.model.code.util
Comparator object that sorts TypeReferencees in the order of their names.
close() - Method in class org.mule.devkit.model.code.CodeWriter
Called by CodeModel at the end of the process.
close() - Method in class org.mule.devkit.model.code.Formatter
Closes this formatter.
close() - Method in class org.mule.devkit.model.code.writer.FileCodeWriter
 
close() - Method in class org.mule.devkit.model.code.writer.FilerCodeWriter
 
close() - Method in class org.mule.devkit.model.code.writer.FilterCodeWriter
 
close() - Method in class org.mule.devkit.model.code.writer.SingleStreamCodeWriter
 
close() - Method in class org.mule.devkit.model.code.writer.ZipCodeWriter
 
CodeModel - Class in org.mule.devkit.model.code
Root of the code DOM.
CodeModel(CodeWriter) - Constructor for class org.mule.devkit.model.code.CodeModel
 
CodeWriter - Class in org.mule.devkit.model.code
Receives generated code and writes to the appropriate storage.
CodeWriter() - Constructor for class org.mule.devkit.model.code.CodeWriter
 
CommentPart - Class in org.mule.devkit.model.code
A part is a part of a javadoc comment, and it is a list of values.
CommentPart() - Constructor for class org.mule.devkit.model.code.CommentPart
 
compare(TypeReference, TypeReference) - Method in class org.mule.devkit.model.code.util.ClassNameComparator
 
compareTo(GeneratedPackage) - Method in class org.mule.devkit.model.code.GeneratedPackage
Order is based on the lexicological order of the package name.
compareTo(Type) - Method in class org.mule.devkit.model.code.Type
Compare two JTypes by FQCN, giving sorting precedence to types that belong to packages java and javax over all others.
complement() - Method in class org.mule.devkit.model.code.AbstractExpression
 
complement() - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "~[this]" from "[this]".
complement(GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
component(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
component(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
component(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
cond(GeneratedExpression, GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
constructor(int) - Method in class org.mule.devkit.model.code.GeneratedClass
Adds a constructor to this class.
constructors() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns an iterator that walks the constructors defined in this class.
cor(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
cor(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Logical OR '||'.
cor(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
core - Variable in class org.mule.devkit.model.code.writer.FilterCodeWriter
 
countArtifacts() - Method in class org.mule.devkit.model.code.CodeModel
Returns the number of files to be generated if CodeModel.build(java.io.File, java.io.PrintStream) is invoked now.
createEncoder(String) - Static method in class org.mule.devkit.model.code.util.EncoderFactory
 

D

d(Declaration) - Method in class org.mule.devkit.model.code.Formatter
Cause the Declaration to generate source for itself
decl(Type, String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Adds a local variable declaration to this block
decl(Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Adds a local variable declaration to this block
decl(int, Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Adds a local variable declaration to this block
Declaration - Interface in org.mule.devkit.model.code
Common interface for code components that can generate declarations of themselves.
declare(Formatter) - Method in interface org.mule.devkit.model.code.Declaration
 
declare(Formatter) - Method in class org.mule.devkit.model.code.EnumConstant
 
declare(Formatter) - Method in class org.mule.devkit.model.code.GeneratedClass
 
declare(Formatter) - Method in class org.mule.devkit.model.code.GeneratedField
 
declare(Formatter) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
declare(Formatter) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
declare(Formatter) - Method in class org.mule.devkit.model.code.GeneratedVariable
 
declare(Formatter) - Method in class org.mule.devkit.model.code.TypeVariable
Prints out the declaration of the variable.
declareBody(Formatter) - Method in class org.mule.devkit.model.code.GeneratedClass
prints the body of a class.
declareDefaultValue(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedMethod
Specify the default value for this annotation member
decr() - Method in class org.mule.devkit.model.code.AbstractExpression
 
decr() - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]--" from "[this]".
decr(GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
direct(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
Creates an expression directly from a source code fragment.
direct(String) - Method in class org.mule.devkit.model.code.GeneratedClass
Places the given string directly inside the generated class.
directClass(String) - Method in class org.mule.devkit.model.code.CodeModel
Creates a dummy, unknown TypeReference that represents a given name.
directStatement(String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates a "literal" statement directly.
div(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
div(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]/[right]"
div(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
Documentable - Interface in org.mule.devkit.model.code
Program elements that can have Javadoc
dotclass(Type) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
dotclass() - Method in class org.mule.devkit.model.code.Type
 
DOUBLE - Variable in class org.mule.devkit.model.code.CodeModel
 

E

elementType() - Method in class org.mule.devkit.model.code.Type
If this is an array, returns the component type of the array.
EMPTY_ARRAY - Static variable in class org.mule.devkit.model.code.TypeReference
Sometimes useful reusable empty array.
EncoderFactory - Class in org.mule.devkit.model.code.util
Creates CharsetEncoder from a charset name.
EncoderFactory() - Constructor for class org.mule.devkit.model.code.util.EncoderFactory
 
EnumConstant - Class in org.mule.devkit.model.code
Enum Constant.
enumConstant(String) - Method in class org.mule.devkit.model.code.GeneratedClass
If the named enum already exists, the reference to it is returned.
eq(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
eq(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
eq(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
equals(Object) - Method in class org.mule.devkit.model.code.Type
 
erasure() - Method in class org.mule.devkit.model.code.Type
Returns the erasure of this type.
erasure() - Method in class org.mule.devkit.model.code.TypeReference
 
ExpressionFactory - Class in org.mule.devkit.model.code
Factory methods that generate various GeneratedExpressions.

F

FALSE - Static variable in class org.mule.devkit.model.code.ExpressionFactory
Boolean constant that represents false
field(int, Type, String) - Method in class org.mule.devkit.model.code.GeneratedClass
Adds a field to the list of field members of this DefinedClass.
field(int, Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedClass
 
field(int, Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedClass
Adds a field to the list of field members of this DefinedClass.
field(int, Class<?>, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedClass
 
FieldBuilder - Class in org.mule.devkit.model.code.builders
 
FieldBuilder(GeneratedClass) - Constructor for class org.mule.devkit.model.code.builders.FieldBuilder
 
fields() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns all the fields declred in this class.
FileCodeWriter - Class in org.mule.devkit.model.code.writer
Writes all the source files under the specified file folder.
FileCodeWriter(File) - Constructor for class org.mule.devkit.model.code.writer.FileCodeWriter
 
FileCodeWriter(File, boolean) - Constructor for class org.mule.devkit.model.code.writer.FileCodeWriter
 
FilerCodeWriter - Class in org.mule.devkit.model.code.writer
 
FilerCodeWriter(Filer) - Constructor for class org.mule.devkit.model.code.writer.FilerCodeWriter
 
FilterCodeWriter - Class in org.mule.devkit.model.code.writer
CodeWriter that delegates to another CodeWriter.
FilterCodeWriter(CodeWriter) - Constructor for class org.mule.devkit.model.code.writer.FilterCodeWriter
 
FINAL - Static variable in class org.mule.devkit.model.code.Modifier
 
finalField() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
FLOAT - Variable in class org.mule.devkit.model.code.CodeModel
 
FLOW_CONSTRUCT_FIELD_NAME - Static variable in class org.mule.devkit.model.code.GeneratedClass
 
FLOW_CONSTRUCT_JAVADOC - Static variable in class org.mule.devkit.model.code.GeneratedClass
 
flowConstructField() - Method in class org.mule.devkit.model.code.GeneratedClass
 
forEach(Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an enhanced For statement based on j2se 1.5 JLS and add it to this block
format(Formatter, String) - Method in class org.mule.devkit.model.code.CommentPart
Writes this part into the formatter by using the specified indentation.
Formatter - Class in org.mule.devkit.model.code
This is a utility class for managing indentation and other basic formatting for PrintWriter.
Formatter(PrintWriter, String) - Constructor for class org.mule.devkit.model.code.Formatter
Creates a Formatter.
Formatter(PrintWriter) - Constructor for class org.mule.devkit.model.code.Formatter
Creates a formatter with default incremental indentations of four spaces.
Formatter(Writer) - Constructor for class org.mule.devkit.model.code.Formatter
Creates a formatter with default incremental indentations of four spaces.
fullName() - Method in class org.mule.devkit.model.code.GeneratedClass
Gets the fully qualified name of this class.
fullName() - Method in class org.mule.devkit.model.code.NullType
 
fullName() - Method in class org.mule.devkit.model.code.PrimitiveType
 
fullName() - Method in class org.mule.devkit.model.code.Type
Gets the full name of the type.
fullName() - Method in class org.mule.devkit.model.code.TypeVariable
 

G

g(Generable) - Method in class org.mule.devkit.model.code.Formatter
Cause the Generable object to generate source for iteself
g(Collection<? extends Generable>) - Method in class org.mule.devkit.model.code.Formatter
Produces Generables separated by ','
Generable - Interface in org.mule.devkit.model.code
Common interface for code components that can generate uses of themselves.
generate(Formatter) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
 
generate(Formatter) - Method in class org.mule.devkit.model.code.Assignment
 
generate(Formatter) - Method in class org.mule.devkit.model.code.EnumConstant
 
generate(Formatter) - Method in interface org.mule.devkit.model.code.Generable
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedArray
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedBlock
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedCast
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedCatchBlock
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedFieldReference
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedInvocation
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedJavaDocComment
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
generate(Formatter) - Method in class org.mule.devkit.model.code.GeneratedVariable
 
generate(Formatter) - Method in class org.mule.devkit.model.code.Modifiers
 
generate(Formatter) - Method in class org.mule.devkit.model.code.PrimitiveType
 
generate(Formatter) - Method in class org.mule.devkit.model.code.StringLiteral
 
generate(Formatter) - Method in class org.mule.devkit.model.code.TypeReference
 
generate(Formatter) - Method in class org.mule.devkit.model.code.TypeVariable
 
GeneratedAnnotationUse - Class in org.mule.devkit.model.code
Represents an annotation on a program element.
GeneratedArray - Class in org.mule.devkit.model.code
array creation and initialization.
GeneratedBlock - Class in org.mule.devkit.model.code
A block of Java code, which may contain statements and local declarations.
GeneratedBlock() - Constructor for class org.mule.devkit.model.code.GeneratedBlock
 
GeneratedBlock(boolean, boolean) - Constructor for class org.mule.devkit.model.code.GeneratedBlock
 
GeneratedCast - Class in org.mule.devkit.model.code
A cast operation.
GeneratedCatchBlock - Class in org.mule.devkit.model.code
Catch block for a try/catch/finally statement
GeneratedClass - Class in org.mule.devkit.model.code
A generated Java class/interface/enum/....
GeneratedClassType - Enum in org.mule.devkit.model.code
This helps enable whether the DefinedClass is a Class or Interface or AnnotationTypeDeclaration or Enum
GeneratedConditional - Class in org.mule.devkit.model.code
If statement, with optional else clause
GeneratedDoLoop - Class in org.mule.devkit.model.code
Do loops
GeneratedExpression - Interface in org.mule.devkit.model.code
A Java expression.
GeneratedField - Class in org.mule.devkit.model.code
A field that can have a GeneratedJavaDocComment associated with it
GeneratedFieldReference - Class in org.mule.devkit.model.code
Field Reference
GeneratedForEach - Class in org.mule.devkit.model.code
ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.
GeneratedForEach(Type, String, GeneratedExpression) - Constructor for class org.mule.devkit.model.code.GeneratedForEach
 
GeneratedForLoop - Class in org.mule.devkit.model.code
For statement
GeneratedForLoop() - Constructor for class org.mule.devkit.model.code.GeneratedForLoop
 
GeneratedInvocation - Class in org.mule.devkit.model.code
Method invocation
GeneratedJavaDocComment - Class in org.mule.devkit.model.code
JavaDoc comment.
GeneratedJavaDocComment(CodeModel) - Constructor for class org.mule.devkit.model.code.GeneratedJavaDocComment
 
GeneratedLabel - Class in org.mule.devkit.model.code
Label that can be used for continue and break.
GeneratedMethod - Class in org.mule.devkit.model.code
Java method.
GeneratedPackage - Class in org.mule.devkit.model.code
A Java package.
GeneratedSwitch - Class in org.mule.devkit.model.code
Switch statement
GeneratedSwitchCase - Class in org.mule.devkit.model.code
Case statement
GeneratedTry - Class in org.mule.devkit.model.code
Try statement with Catch and/or Finally clause
GeneratedVariable - Class in org.mule.devkit.model.code
Variables and fields.
GeneratedWhileLoop - Class in org.mule.devkit.model.code
While statement
Generifiable - Interface in org.mule.devkit.model.code
Declarations that can have type variables.
generify(String) - Method in class org.mule.devkit.model.code.GeneratedClass
 
generify(String, Class<?>) - Method in class org.mule.devkit.model.code.GeneratedClass
 
generify(String, TypeReference) - Method in class org.mule.devkit.model.code.GeneratedClass
 
generify(String) - Method in interface org.mule.devkit.model.code.Generifiable
Adds a new type variable to this declaration.
generify(String, Class<?>) - Method in interface org.mule.devkit.model.code.Generifiable
Adds a new type variable to this declaration with a bound.
generify(String, TypeReference) - Method in interface org.mule.devkit.model.code.Generifiable
Adds a new type variable to this declaration with a bound.
getAnnotationClass() - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
 
getAnnotationMembers() - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
 
getAnnotationType() - Method in interface org.mule.devkit.model.code.AnnotationWriter
The type of the annotation that this writer is writing.
getAnnotationUse() - Method in interface org.mule.devkit.model.code.AnnotationWriter
Gets the underlying annotation use object to which we are writing.
getBaseClass(TypeReference) - Method in class org.mule.devkit.model.code.TypeReference
Gets the parameterization of the given base type.
getBaseClass(Class<?>) - Method in class org.mule.devkit.model.code.TypeReference
 
getClassType() - Method in class org.mule.devkit.model.code.GeneratedClass
 
getCodeWriter() - Method in class org.mule.devkit.model.code.CodeModel
Get code writer
getConstructor(Type[]) - Method in class org.mule.devkit.model.code.GeneratedClass
Looks for a method that has the specified method signature and return it.
getContents() - Method in class org.mule.devkit.model.code.GeneratedBlock
Returns a read-only view of Statements and Declaration in this block.
getDataStore() - Method in class org.mule.devkit.model.code.fmt.BinaryFile
 
getDeclarationToken() - Method in enum org.mule.devkit.model.code.GeneratedClassType
 
getExistingClass() - Method in exception org.mule.devkit.model.code.ClassAlreadyExistsException
Gets a reference to the existing GeneratedClass.
getFile(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FileCodeWriter
 
getJClass() - Method in class org.mule.devkit.model.code.fmt.StaticJavaFile
Returns a class object that represents a statically generated code.
getMethod(String, Type[]) - Method in class org.mule.devkit.model.code.GeneratedClass
Looks for a method that has the specified method signature and return it.
getMods() - Method in class org.mule.devkit.model.code.GeneratedMethod
Deprecated.
getName() - Method in class org.mule.devkit.model.code.EnumConstant
Returns the name of this constant.
getPackage() - Method in interface org.mule.devkit.model.code.ClassContainer
Gets the nearest package parent.
getPackage() - Method in class org.mule.devkit.model.code.GeneratedClass
 
getPackage() - Method in class org.mule.devkit.model.code.GeneratedPackage
 
getPluralForm(String) - Static method in class org.mule.devkit.model.code.JavaName
Experimental API: converts an English word into a plural form.
getPrimitiveType() - Method in class org.mule.devkit.model.code.TypeReference
If this class represents one of the wrapper classes defined in the java.lang package, return the corresponding primitive type.
getRegistryBootstrapStream() - Method in class org.mule.devkit.model.code.CodeModel
 
getter() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
getter(GeneratedField) - Method in class org.mule.devkit.model.code.GeneratedClass
Generate a getter method for the specified field
getterAndSetter() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
getTypeParameters() - Method in class org.mule.devkit.model.code.TypeReference
If this class is parameterized, return the type parameter of the given index.
getValue() - Method in class org.mule.devkit.model.code.Modifiers
Gets the bit-packed representaion of modifiers.
getWrapperClass() - Method in class org.mule.devkit.model.code.PrimitiveType
Deprecated.
gt(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
gt(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
gt(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
gte(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
gte(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
gte(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 

H

hashCode() - Method in class org.mule.devkit.model.code.Type
 
hasResourceFile(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Checks if a resource of the given name exists.
hasSignature(Type[]) - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns true if the method has the specified signature.
hasVarArgs() - Method in class org.mule.devkit.model.code.GeneratedMethod
Check if there are any varargs declared for this method signature.
hide() - Method in class org.mule.devkit.model.code.GeneratedClass
Mark this file as hidden, so that this file won't be generated.

I

i() - Method in class org.mule.devkit.model.code.Formatter
Increment the indentation level.
id(String) - Method in class org.mule.devkit.model.code.Formatter
Print an identifier
implementsClass(Class) - Method in class org.mule.devkit.model.code.GeneratedClass
Returns whether this class implements the provided interface or not
incr() - Method in class org.mule.devkit.model.code.AbstractExpression
 
incr() - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]++" from "[this]".
incr(GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
init() - Method in class org.mule.devkit.model.code.GeneratedClass
Creates, if necessary, and returns the static initializer for this class.
init(int, Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
init(Type, String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
init(GeneratedVariable, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
init(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedVariable
Initialize this variable
initialValue(GeneratedExpression) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
initialValue(String) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
initialValue(int) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
inlineComment(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
INT - Variable in class org.mule.devkit.model.code.CodeModel
 
invoke(GeneratedMethod) - Method in class org.mule.devkit.model.code.AbstractExpression
 
invoke(String) - Method in class org.mule.devkit.model.code.AbstractExpression
 
invoke(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
invoke(GeneratedMethod) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
invoke(GeneratedExpression, GeneratedMethod) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
invoke(GeneratedExpression, String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
invoke(GeneratedExpression, String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an invocation statement and adds it to this block.
invoke(GeneratedExpression, GeneratedMethod) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an invocation statement and adds it to this block.
invoke(String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an invocation statement and adds it to this block.
invoke(GeneratedMethod) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates an invocation statement and adds it to this block.
invoke(GeneratedMethod) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this].[method]".
invoke(String) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this].[method]".
isAbstract() - Method in class org.mule.devkit.model.code.GeneratedClass
 
isAbstract() - Method in class org.mule.devkit.model.code.Modifiers
 
isAbstract() - Method in class org.mule.devkit.model.code.NullType
 
isAbstract() - Method in class org.mule.devkit.model.code.TypeReference
Checks if this class is an abstract class.
isAbstract() - Method in class org.mule.devkit.model.code.TypeVariable
 
isAnnotated() - Method in class org.mule.devkit.model.code.GeneratedVariable
 
isAnnotationTypeDeclaration() - Method in class org.mule.devkit.model.code.GeneratedClass
This method indicates if the interface is an annotationTypeDeclaration
isAnonymous() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns true if this is an anonymous class.
isArray() - Method in class org.mule.devkit.model.code.Type
Tell whether or not this is an array type.
isAssignableFrom(TypeReference) - Method in class org.mule.devkit.model.code.TypeReference
Checks the relationship between two classes.
isCaseSensitiveFileSystem - Static variable in class org.mule.devkit.model.code.CodeModel
If the flag is true, we will consider two classes "Foo" and "foo" as a collision.
isClass() - Method in interface org.mule.devkit.model.code.ClassContainer
Returns true if the container is a class.
isClass() - Method in class org.mule.devkit.model.code.GeneratedClass
 
isClass() - Method in class org.mule.devkit.model.code.GeneratedPackage
 
isDefined(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Checks if a given name is already defined as a class/interface
isEmpty() - Method in class org.mule.devkit.model.code.GeneratedBlock
Returns true if this block is empty and does not contain any statement.
isFullyQualifiedClassName(String) - Static method in class org.mule.devkit.model.code.JavaName
Checks if the given string is a valid fully qualified name.
isHidden() - Method in class org.mule.devkit.model.code.GeneratedClass
 
isInterface() - Method in class org.mule.devkit.model.code.GeneratedClass
 
isInterface() - Method in class org.mule.devkit.model.code.NullType
 
isInterface() - Method in class org.mule.devkit.model.code.TypeReference
Checks if this object represents an interface.
isInterface() - Method in class org.mule.devkit.model.code.TypeVariable
 
isJavaIdentifier(String) - Static method in class org.mule.devkit.model.code.JavaName
Checks if a given string is usable as a Java identifier.
isJavaPackageName(String) - Static method in class org.mule.devkit.model.code.JavaName
Checks if the given string is a valid Java package name.
isNative() - Method in class org.mule.devkit.model.code.Modifiers
 
isNotNull() - Method in class org.mule.devkit.model.code.AbstractExpression
 
isNotNull() - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
isNull() - Method in class org.mule.devkit.model.code.AbstractExpression
 
isNull() - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
isPackage() - Method in interface org.mule.devkit.model.code.ClassContainer
Returns true if the container is a package.
isPackage() - Method in class org.mule.devkit.model.code.GeneratedClass
 
isPackage() - Method in class org.mule.devkit.model.code.GeneratedPackage
 
isParameterized() - Method in class org.mule.devkit.model.code.TypeReference
Returns true if this class is a parameterized class.
isPrimitive() - Method in class org.mule.devkit.model.code.PrimitiveType
 
isPrimitive() - Method in class org.mule.devkit.model.code.Type
Tell whether or not this is a built-in primitive type, such as int or void.
isPrinting() - Method in class org.mule.devkit.model.code.Formatter
Returns true if we are in the printing mode, where we actually produce text.
isReference() - Method in class org.mule.devkit.model.code.Type
Returns true if this is a referenced type.
isResource() - Method in class org.mule.devkit.model.code.fmt.StaticFile
 
isResource() - Method in class org.mule.devkit.model.code.fmt.StaticJavaFile
 
isResource() - Method in class org.mule.devkit.model.code.ResourceFile
Returns true if this file should be generated into the directory that the resource files go into.
isSynchronized() - Method in class org.mule.devkit.model.code.Modifiers
 
isUnnamed() - Method in class org.mule.devkit.model.code.GeneratedPackage
Checks if this package is the root, unnamed package.

J

javadoc(String) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
javadoc() - Method in interface org.mule.devkit.model.code.Documentable
 
javadoc() - Method in class org.mule.devkit.model.code.EnumConstant
Creates, if necessary, and returns the enum constant javadoc.
javadoc() - Method in class org.mule.devkit.model.code.GeneratedClass
Creates, if necessary, and returns the class javadoc for this DefinedClass
javadoc() - Method in class org.mule.devkit.model.code.GeneratedField
Creates, if necessary, and returns the class javadoc for this DefinedClass
javadoc() - Method in class org.mule.devkit.model.code.GeneratedMethod
Creates, if necessary, and returns the class javadoc for this DefinedClass
javadoc() - Method in class org.mule.devkit.model.code.GeneratedPackage
Creates, if necessary, and returns the package javadoc for this DefinedClass.
JavadocEscapeWriter - Class in org.mule.devkit.model.code.util
Writer that escapes characters that are unsafe as Javadoc comments.
JavadocEscapeWriter(Writer) - Constructor for class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
JavaName - Class in org.mule.devkit.model.code
Utility methods that convert arbitrary strings into Java identifiers.
JavaName() - Constructor for class org.mule.devkit.model.code.JavaName
 

L

label(String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a label, which can be referenced from continue and break statements.
label() - Method in class org.mule.devkit.model.code.GeneratedSwitchCase
 
listArgs() - Method in class org.mule.devkit.model.code.GeneratedInvocation
Returns all arguments of the invocation.
listClasses() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns all the nested classes defined in this class.
listParams() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns all the parameters in an array.
listParamTypes() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns all the parameter types in an array.
listVarParam() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns the variable parameter
listVarParamType() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns the varags parameter type.
lit(boolean) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(int) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(long) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(float) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(double) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(char) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
lit(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
LONG - Variable in class org.mule.devkit.model.code.CodeModel
 
lt(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
lt(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
lt(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
lte(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
lte(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
lte(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 

M

metadata - Variable in class org.mule.devkit.model.code.GeneratedClass
Client-app spcific metadata associated with this user-created class.
method(int, Type, String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add a method to the list of method members of this DefinedClass instance.
method(int, Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedClass
 
method(int, Class<?>, Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedClass
 
methods() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns the set of methods defined in this class.
minus() - Method in class org.mule.devkit.model.code.AbstractExpression
 
minus(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
minus() - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "-[this]" from "[this]".
minus(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]-[right]"
minus(GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
minus(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
mod(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
mod(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]%[right]"
mod(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
Modifier - Class in org.mule.devkit.model.code
Modifier constants.
Modifier() - Constructor for class org.mule.devkit.model.code.Modifier
 
Modifiers - Class in org.mule.devkit.model.code
Modifier groups.
mods() - Method in class org.mule.devkit.model.code.GeneratedClass
 
mods() - Method in class org.mule.devkit.model.code.GeneratedMethod
 
mods() - Method in class org.mule.devkit.model.code.GeneratedVariable
 
MS1252Encoder - Class in org.mule.devkit.model.code.util
MS1252 encoder that corrects a bug in JDK1.4.2_01.
MS1252Encoder(Charset) - Constructor for class org.mule.devkit.model.code.util.MS1252Encoder
 
mul(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
mul(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]*[right]"
mul(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
MULE_CONTEXT_FIELD_NAME - Static variable in class org.mule.devkit.model.code.GeneratedClass
 
MULE_CONTEXT_JAVADOC - Static variable in class org.mule.devkit.model.code.GeneratedClass
 
muleContextField() - Method in class org.mule.devkit.model.code.GeneratedClass
 

N

name(String) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
name() - Method in class org.mule.devkit.model.code.GeneratedClass
TypeReference name accessor.
name(String) - Method in class org.mule.devkit.model.code.GeneratedField
 
name() - Method in class org.mule.devkit.model.code.GeneratedMethod
 
name(String) - Method in class org.mule.devkit.model.code.GeneratedMethod
Changes the name of the method.
name() - Method in class org.mule.devkit.model.code.GeneratedPackage
Get the name of this package
name() - Method in class org.mule.devkit.model.code.GeneratedVariable
Get the name of this variable
name(String) - Method in class org.mule.devkit.model.code.GeneratedVariable
Changes the name of this variable.
name() - Method in class org.mule.devkit.model.code.NullType
 
name() - Method in class org.mule.devkit.model.code.PrimitiveType
 
name() - Method in class org.mule.devkit.model.code.ResourceFile
Gets the name of this property file
name() - Method in class org.mule.devkit.model.code.Type
Gets the name of this type.
name() - Method in class org.mule.devkit.model.code.TypeReference
Gets the name of this class.
name() - Method in class org.mule.devkit.model.code.TypeVariable
 
narrow(Class<?>) - Method in class org.mule.devkit.model.code.TypeReference
"Narrows" a generic class to a concrete class by specifying a type argument.
narrow(String) - Method in class org.mule.devkit.model.code.TypeReference
 
narrow(Class<?>...) - Method in class org.mule.devkit.model.code.TypeReference
 
narrow(TypeReference) - Method in class org.mule.devkit.model.code.TypeReference
"Narrows" a generic class to a concrete class by specifying a type argument.
narrow(Type) - Method in class org.mule.devkit.model.code.TypeReference
 
narrow(TypeReference...) - Method in class org.mule.devkit.model.code.TypeReference
 
narrow(List<? extends TypeReference>) - Method in class org.mule.devkit.model.code.TypeReference
 
NATIVE - Static variable in class org.mule.devkit.model.code.Modifier
 
ne(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
ne(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
ne(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
newAnonymousClass(TypeReference) - Method in class org.mule.devkit.model.code.CodeModel
Deprecated.
The naming convention doesn't match the rest of the CodeModel. Use CodeModel.anonymousClass(TypeReference) instead.
newArray(Type) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
newArray(Type, GeneratedExpression) - Static method in class org.mule.devkit.model.code.ExpressionFactory
Generates new T[size].
newArray(Type, int) - Static method in class org.mule.devkit.model.code.ExpressionFactory
Generates new T[size].
newConstantFieldBuilder(GeneratedClass) - Static method in class org.mule.devkit.model.code.builders.FieldBuilder
 
newLoggerField(GeneratedClass) - Static method in class org.mule.devkit.model.code.builders.FieldBuilder
 
nl() - Method in class org.mule.devkit.model.code.Formatter
Print a new line into the stream
NONE - Static variable in class org.mule.devkit.model.code.Modifier
 
not() - Method in class org.mule.devkit.model.code.AbstractExpression
Logical not '!x'.
not() - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "![this]" from "[this]".
not(GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
Logical not '!x'.
NULL - Variable in class org.mule.devkit.model.code.CodeModel
Obtains a reference to the special "null" type.
NullType - Class in org.mule.devkit.model.code
Special class object that represents the type of "null".

O

o() - Method in class org.mule.devkit.model.code.Formatter
Decrement the indentation level.
Op - Class in org.mule.devkit.model.code
TypeReference for generating expressions containing operators
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.CodeWriter
Called by CodeModel to store the specified file.
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FileCodeWriter
 
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FilerCodeWriter
 
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FilterCodeWriter
 
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.ProgressCodeWriter
 
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.SingleStreamCodeWriter
 
openBinary(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.ZipCodeWriter
 
openSource(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.CodeWriter
Called by CodeModel to store the specified file.
openSource(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FilerCodeWriter
 
openSource(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.FilterCodeWriter
 
openSource(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.ProgressCodeWriter
 
openSource(GeneratedPackage, String) - Method in class org.mule.devkit.model.code.writer.PrologCodeWriter
 
org.mule.devkit.model.code - package org.mule.devkit.model.code
Library for generating Java source code
org.mule.devkit.model.code.builders - package org.mule.devkit.model.code.builders
 
org.mule.devkit.model.code.fmt - package org.mule.devkit.model.code.fmt
 
org.mule.devkit.model.code.util - package org.mule.devkit.model.code.util
 
org.mule.devkit.model.code.writer - package org.mule.devkit.model.code.writer
 
outer() - Method in class org.mule.devkit.model.code.GeneratedClass
 
outer() - Method in class org.mule.devkit.model.code.TypeReference
Returns the class in which this class is nested, or null if this is a top-level class.
owner() - Method in interface org.mule.devkit.model.code.ClassContainer
Get the root code model object.
owner() - Method in class org.mule.devkit.model.code.GeneratedMethod
 
owner() - Method in class org.mule.devkit.model.code.GeneratedPackage
Return the code model root object being used to create this package.
owner() - Method in class org.mule.devkit.model.code.PrimitiveType
 
owner() - Method in class org.mule.devkit.model.code.Type
Gets the owner code model object.
owner() - Method in class org.mule.devkit.model.code.TypeReference
Gets the CodeModel object to which this object belongs.

P

p(char) - Method in class org.mule.devkit.model.code.Formatter
Print a char into the stream
p(String) - Method in class org.mule.devkit.model.code.Formatter
Print a String into the stream
packages() - Method in class org.mule.devkit.model.code.CodeModel
Returns an iterator that walks the packages defined using this code writer.
param(String) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(boolean) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(byte) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(char) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(double) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(long) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(short) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(int) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(float) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an array member to this annotation
param(Enum<?>) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds a enum array member to this annotation
param(EnumConstant) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds a enum array member to this annotation
param(GeneratedExpression) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds an expression array member to this annotation
param(Class<?>) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
Adds a class array member to this annotation
param(Type) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
 
param(GeneratedAnnotationUse) - Method in class org.mule.devkit.model.code.AnnotationArrayMember
param(String, boolean) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, byte) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, char) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, double) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, float) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, long) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, short) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, int) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, String) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, Enum<?>) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, EnumConstant) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation
param(String, Class<?>) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation This can be used for e.g to specify
param(String, Type) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation based on the type represented by the given Type
param(String, GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair to this annotation.
param(String) - Method in class org.mule.devkit.model.code.GeneratedCatchBlock
 
param(int, Type, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
Add the specified variable to the list of parameters for this method signature.
param(Type, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
param(int, Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
param(Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
paramArray(String) - Method in class org.mule.devkit.model.code.GeneratedAnnotationUse
Adds a member value pair which is of type array to this annotation
params() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns the list of variable of this method.
parent() - Method in class org.mule.devkit.model.code.GeneratedPackage
Gets the parent package, or null if this class is the root package.
parentContainer() - Method in interface org.mule.devkit.model.code.ClassContainer
Parent ClassContainer.
parentContainer() - Method in class org.mule.devkit.model.code.GeneratedClass
 
parentContainer() - Method in class org.mule.devkit.model.code.GeneratedPackage
 
parse(CodeModel, String) - Static method in class org.mule.devkit.model.code.Type
Obtains a reference to the primitive type object from a type name.
parseType(String) - Method in class org.mule.devkit.model.code.CodeModel
Obtains a type object from a type name.
plus(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
plus(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]+[right]"
plus(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
pos() - Method in class org.mule.devkit.model.code.GeneratedBlock
Gets the current position to which new statements will be inserted.
pos(int) - Method in class org.mule.devkit.model.code.GeneratedBlock
Sets the current position.
primitiveToBox - Static variable in class org.mule.devkit.model.code.CodeModel
Conversion from primitive type Class (such as Integer.TYPE to its boxed type (such as Integer.class)
PrimitiveType - Class in org.mule.devkit.model.code
Java built-in primitive types.
PRIVATE - Static variable in class org.mule.devkit.model.code.Modifier
 
privateVisibility() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
process(String) - Method in class org.mule.devkit.model.code.fmt.StaticJavaFile.ChainFilter
 
process(String) - Method in interface org.mule.devkit.model.code.fmt.StaticJavaFile.LineFilter
 
ProgressCodeWriter - Class in org.mule.devkit.model.code.writer
Filter CodeWriter that writes a progress message to the specified PrintStream.
ProgressCodeWriter(CodeWriter, PrintStream) - Constructor for class org.mule.devkit.model.code.writer.ProgressCodeWriter
 
PrologCodeWriter - Class in org.mule.devkit.model.code.writer
Writes all the source files under the specified file folder and inserts a file prolog comment in each java source file.
PrologCodeWriter(CodeWriter, String) - Constructor for class org.mule.devkit.model.code.writer.PrologCodeWriter
 
PropertyFile - Class in org.mule.devkit.model.code.fmt
A property file.
PropertyFile(String) - Constructor for class org.mule.devkit.model.code.fmt.PropertyFile
 
propertyFiles() - Method in class org.mule.devkit.model.code.GeneratedPackage
Iterates all resource files in this package.
PROTECTED - Static variable in class org.mule.devkit.model.code.Modifier
 
protectedVisibility() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
PUBLIC - Static variable in class org.mule.devkit.model.code.Modifier
 
publicVisibility() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 

Q

quotify(char, String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
Escapes the given string, then surrounds it by the specified quotation mark.

R

ref(GeneratedVariable) - Method in class org.mule.devkit.model.code.AbstractExpression
 
ref(String) - Method in class org.mule.devkit.model.code.AbstractExpression
 
ref(TypeMirror) - Method in class org.mule.devkit.model.code.CodeModel
 
ref(Class<?>) - Method in class org.mule.devkit.model.code.CodeModel
Obtains a reference to an existing class from its Class object.
ref(String) - Method in class org.mule.devkit.model.code.CodeModel
Obtains a reference to an existing class from its fully-qualified class name.
ref(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
ref(GeneratedExpression, GeneratedVariable) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
ref(GeneratedExpression, String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
ref(GeneratedVariable) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
ref(String) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
ref(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Reference a class within this package.
refthis(String) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
remove(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedPackage
Removes a class from this package.
removeField(GeneratedField) - Method in class org.mule.devkit.model.code.GeneratedClass
Removes a GeneratedField from this class.
requireEscaping(int) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
Can be overrided.
ResourceFile - Class in org.mule.devkit.model.code
Represents a resource file in the application-specific file format.
ResourceFile(String) - Constructor for class org.mule.devkit.model.code.ResourceFile
 
rootPackage() - Method in class org.mule.devkit.model.code.CodeModel
 

S

s(Statement) - Method in class org.mule.devkit.model.code.Formatter
Cause the Statement to generate source for itself
SerializedObject - Class in org.mule.devkit.model.code.fmt
A simple class that takes an object and serializes it into a file in the parent package with the given name.
SerializedObject(String, Object) - Constructor for class org.mule.devkit.model.code.fmt.SerializedObject
 
setContents(String) - Method in class org.mule.devkit.model.code.fmt.TextFile
 
setFinal(boolean) - Method in class org.mule.devkit.model.code.Modifiers
 
setPrivate() - Method in class org.mule.devkit.model.code.Modifiers
 
setProtected() - Method in class org.mule.devkit.model.code.Modifiers
 
setPublic() - Method in class org.mule.devkit.model.code.Modifiers
 
setSynchronized(boolean) - Method in class org.mule.devkit.model.code.Modifiers
 
setter() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
setter(GeneratedField) - Method in class org.mule.devkit.model.code.GeneratedClass
Generate a setter method for the specified field
setterOverride(GeneratedField) - Method in class org.mule.devkit.model.code.GeneratedClass
Generate a setter and puts an override annotation on it
shl(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
shl(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]<<[right]"
shl(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
SHORT - Variable in class org.mule.devkit.model.code.CodeModel
 
shr(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
shr(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]>>[right]"
shr(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
shrz(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
shrz(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this]>>>[right]"
shrz(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 
SingleStreamCodeWriter - Class in org.mule.devkit.model.code.writer
Output all source files into a single stream with a little formatting header in front of each file.
SingleStreamCodeWriter(OutputStream) - Constructor for class org.mule.devkit.model.code.writer.SingleStreamCodeWriter
 
state(Formatter) - Method in class org.mule.devkit.model.code.Assignment
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedBlock
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedConditional
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedDoLoop
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedForEach
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedInvocation
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedLabel
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedSwitch
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedSwitchCase
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedTry
 
state(Formatter) - Method in class org.mule.devkit.model.code.GeneratedWhileLoop
 
state(Formatter) - Method in interface org.mule.devkit.model.code.Statement
 
Statement - Interface in org.mule.devkit.model.code
Common interface for code components that can generate uses of themselves as statements.
STATIC - Static variable in class org.mule.devkit.model.code.Modifier
 
staticField() - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
StaticFile - Class in org.mule.devkit.model.code.fmt
Allows an application to copy a resource file to the output.
StaticFile(String) - Constructor for class org.mule.devkit.model.code.fmt.StaticFile
 
StaticFile(String, boolean) - Constructor for class org.mule.devkit.model.code.fmt.StaticFile
 
StaticFile(ClassLoader, String, boolean) - Constructor for class org.mule.devkit.model.code.fmt.StaticFile
 
staticInvoke(TypeReference, String) - Method in class org.mule.devkit.model.code.GeneratedBlock
Creates a static invocation statement.
staticInvoke(GeneratedMethod) - Method in class org.mule.devkit.model.code.TypeReference
Generates a static method invocation.
staticInvoke(String) - Method in class org.mule.devkit.model.code.TypeReference
Generates a static method invocation.
StaticJavaFile - Class in org.mule.devkit.model.code.fmt
Statically generated Java soruce file.
StaticJavaFile(GeneratedPackage, String, String) - Constructor for class org.mule.devkit.model.code.fmt.StaticJavaFile
 
StaticJavaFile(GeneratedPackage, String, URL, StaticJavaFile.LineFilter) - Constructor for class org.mule.devkit.model.code.fmt.StaticJavaFile
 
StaticJavaFile.ChainFilter - Class in org.mule.devkit.model.code.fmt
StaticJavaFile.ChainFilter(StaticJavaFile.LineFilter, StaticJavaFile.LineFilter) - Constructor for class org.mule.devkit.model.code.fmt.StaticJavaFile.ChainFilter
 
StaticJavaFile.LineFilter - Interface in org.mule.devkit.model.code.fmt
Filter that alters the Java source code.
staticRef(String) - Method in class org.mule.devkit.model.code.TypeReference
Static field reference.
staticRef(GeneratedVariable) - Method in class org.mule.devkit.model.code.TypeReference
Static field reference.
str - Variable in class org.mule.devkit.model.code.StringLiteral
 
StringLiteral - Class in org.mule.devkit.model.code
String literal.
subPackage(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Gets a reference to a sub package of this package.
substituteParams(TypeVariable[], List<TypeReference>) - Method in class org.mule.devkit.model.code.GeneratedClass
 
substituteParams(TypeVariable[], List<TypeReference>) - Method in class org.mule.devkit.model.code.NullType
 
substituteParams(TypeVariable[], List<TypeReference>) - Method in class org.mule.devkit.model.code.TypeReference
Substitutes the type variables with their actual arguments.
substituteParams(TypeVariable[], List<TypeReference>) - Method in class org.mule.devkit.model.code.TypeVariable
 
superclasses() - Method in class org.mule.devkit.model.code.GeneratedClass
Find all the classes that inherit from this one.
SYNCHRONIZED - Static variable in class org.mule.devkit.model.code.Modifier
 

T

t(Type) - Method in class org.mule.devkit.model.code.Formatter
 
t(TypeReference) - Method in class org.mule.devkit.model.code.Formatter
Print a type name.
test(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 
test() - Method in class org.mule.devkit.model.code.GeneratedSwitch
 
test() - Method in class org.mule.devkit.model.code.GeneratedWhileLoop
 
TextFile - Class in org.mule.devkit.model.code.fmt
Simple text file.
TextFile(String) - Constructor for class org.mule.devkit.model.code.fmt.TextFile
 
theInstance - Static variable in class org.mule.devkit.model.code.util.ClassNameComparator
 
topLevelClass() - Method in class org.mule.devkit.model.code.GeneratedClass
Find the top level class that inherits from this one.
toString() - Method in class org.mule.devkit.model.code.GeneratedClass
 
toString() - Method in class org.mule.devkit.model.code.GeneratedField
 
toString() - Method in class org.mule.devkit.model.code.GeneratedInvocation
 
toString() - Method in class org.mule.devkit.model.code.Modifiers
 
toString() - Method in class org.mule.devkit.model.code.Type
 
toString() - Method in class org.mule.devkit.model.code.TypeReference
 
TRANSIENT - Static variable in class org.mule.devkit.model.code.Modifier
 
TRUE - Static variable in class org.mule.devkit.model.code.ExpressionFactory
Boolean constant that represents true
type(Class<?>) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
type(Type) - Method in class org.mule.devkit.model.code.builders.FieldBuilder
 
type() - Method in class org.mule.devkit.model.code.GeneratedMethod
Returns the return type.
type(Type) - Method in class org.mule.devkit.model.code.GeneratedMethod
Overrides the return type.
type() - Method in class org.mule.devkit.model.code.GeneratedVariable
Return the type of this variable.
type(Type) - Method in class org.mule.devkit.model.code.GeneratedVariable
Sets the type of this variable.
Type - Class in org.mule.devkit.model.code
A representation of a type in codeModel.
Type() - Constructor for class org.mule.devkit.model.code.Type
 
typeParams() - Method in class org.mule.devkit.model.code.GeneratedClass
 
typeParams() - Method in interface org.mule.devkit.model.code.Generifiable
Iterates all the type parameters of this class/interface.
typeParams() - Method in class org.mule.devkit.model.code.TypeReference
Iterates all the type parameters of this class/interface.
TypeReference - Class in org.mule.devkit.model.code
Represents a Java reference type, such as a class, an interface, an enum, an array type, a parameterized type.
TypeReference(CodeModel) - Constructor for class org.mule.devkit.model.code.TypeReference
 
TypeVariable - Class in org.mule.devkit.model.code
Type variable used to declare generics.

U

unboxify() - Method in class org.mule.devkit.model.code.PrimitiveType
Deprecated.
calling this method from PrimitiveType would be meaningless, since it's always guaranteed to return this.
unboxify() - Method in class org.mule.devkit.model.code.Type
If this class is a wrapper type for a primitive, return the primitive type.
unboxify() - Method in class org.mule.devkit.model.code.TypeReference
 
UnicodeEscapeWriter - Class in org.mule.devkit.model.code.util
Writer that escapes non US-ASCII characters into Java Unicode escape \\uXXXX.
UnicodeEscapeWriter(Writer) - Constructor for class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 
unwrap(GeneratedExpression) - Method in class org.mule.devkit.model.code.PrimitiveType
Do the opposite of the wrap method.
update(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedForLoop
 

V

valueOf(String) - Static method in enum org.mule.devkit.model.code.GeneratedClassType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mule.devkit.model.code.GeneratedClassType
Returns an array containing the constants of this enum type, in the order they are declared.
var() - Method in class org.mule.devkit.model.code.GeneratedForEach
Returns a reference to the loop variable.
varParam(Class<?>, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
varParam(Type, String) - Method in class org.mule.devkit.model.code.GeneratedMethod
Add the specified variable argument to the list of parameters for this method signature.
VOID - Variable in class org.mule.devkit.model.code.CodeModel
 
VOLATILE - Static variable in class org.mule.devkit.model.code.Modifier
 

W

wildcard() - Method in class org.mule.devkit.model.code.CodeModel
Gets a TypeReference representation for "?", which is equivalent to "? extends Object".
wildcard() - Method in class org.mule.devkit.model.code.TypeReference
Create "? extends T" from T.
wrap(GeneratedExpression) - Method in class org.mule.devkit.model.code.PrimitiveType
Wraps an expression of this type to the corresponding wrapper class.
write(int) - Method in class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
write(char[], int, int) - Method in class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
write(char[]) - Method in class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
write(String, int, int) - Method in class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
write(String) - Method in class org.mule.devkit.model.code.util.JavadocEscapeWriter
 
write(int) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 
write(char[], int, int) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 
write(char[]) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 
write(String, int, int) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 
write(String) - Method in class org.mule.devkit.model.code.util.UnicodeEscapeWriter
 

X

xor(GeneratedExpression) - Method in class org.mule.devkit.model.code.AbstractExpression
 
xor(GeneratedExpression) - Method in interface org.mule.devkit.model.code.GeneratedExpression
 
xor(GeneratedExpression, GeneratedExpression) - Static method in class org.mule.devkit.model.code.Op
 

Z

ZipCodeWriter - Class in org.mule.devkit.model.code.writer
Writes all the files into a zip file.
ZipCodeWriter(OutputStream) - Constructor for class org.mule.devkit.model.code.writer.ZipCodeWriter
 

_

_annotationTypeDeclaration(String) - Method in interface org.mule.devkit.model.code.ClassContainer
Add an annotationType Declaration to this package
_annotationTypeDeclaration(String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add an annotationType Declaration to this package
_annotationTypeDeclaration(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Add an annotationType Declaration to this package
_break() - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a break statement and add it to this block
_break(GeneratedLabel) - Method in class org.mule.devkit.model.code.GeneratedBlock
 
_case(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedSwitch
 
_catch(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedTry
 
_class(int, String) - Method in interface org.mule.devkit.model.code.ClassContainer
Add a new class to this package/class.
_class(String) - Method in interface org.mule.devkit.model.code.ClassContainer
Add a new public class to this class/package.
_class(int, String, boolean) - Method in interface org.mule.devkit.model.code.ClassContainer
_class(int, String, GeneratedClassType) - Method in interface org.mule.devkit.model.code.ClassContainer
Creates a new class/enum/interface/annotation.
_class(String) - Method in class org.mule.devkit.model.code.CodeModel
Creates a new generated class.
_class(int, String, GeneratedClassType) - Method in class org.mule.devkit.model.code.CodeModel
Creates a new generated class.
_class(String, GeneratedClassType) - Method in class org.mule.devkit.model.code.CodeModel
Creates a new generated class.
_class(int, String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add a new nested class to this class.
_class(int, String, boolean) - Method in class org.mule.devkit.model.code.GeneratedClass
Deprecated. 
_class(int, String, GeneratedClassType) - Method in class org.mule.devkit.model.code.GeneratedClass
 
_class(String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add a new public nested class to this class.
_class(int, String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Add a class to this package.
_class(int, String, boolean) - Method in class org.mule.devkit.model.code.GeneratedPackage
Deprecated. 
_class(int, String, GeneratedClassType) - Method in class org.mule.devkit.model.code.GeneratedPackage
 
_class(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, TypeReference) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(int, String, TypeReference) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, Class<?>) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, Class<?>, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(int, String, Class<?>, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, GeneratedClass, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, TypeReference, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(int, String, GeneratedClass, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(String, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_class(int, String, Class<?>[]) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public class to this package.
_continue(GeneratedLabel) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a continue statement and add it to this block
_continue() - Method in class org.mule.devkit.model.code.GeneratedBlock
 
_default() - Method in class org.mule.devkit.model.code.GeneratedSwitch
 
_do(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a Do statement and add it to this block
_else() - Method in class org.mule.devkit.model.code.GeneratedConditional
Create a block to be executed by "else" branch
_elseif(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedConditional
Creates ...
_enum(String) - Method in interface org.mule.devkit.model.code.ClassContainer
Add a public enum to this package
_enum(String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add a public enum to this package
_enum(int, String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add a public enum to this package
_enum(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Add a public enum to this package
_extends(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedClass
This class extends the specifed class.
_extends(Class<?>) - Method in class org.mule.devkit.model.code.GeneratedClass
 
_extends() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns the class extended by this class.
_extends() - Method in class org.mule.devkit.model.code.NullType
 
_extends() - Method in class org.mule.devkit.model.code.TypeReference
Gets the super class of this class.
_extends() - Method in class org.mule.devkit.model.code.TypeVariable
Returns the class bound of this variable.
_finally() - Method in class org.mule.devkit.model.code.GeneratedTry
 
_for() - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a For statement and add it to this block
_getClass(String) - Method in class org.mule.devkit.model.code.CodeModel
Gets a reference to the already created generated class.
_getClass(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Gets a reference to the already created GeneratedClass.
_if(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create an If statement and add it to this block
_implements(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedClass
This class implements the specifed interface.
_implements(Class<?>) - Method in class org.mule.devkit.model.code.GeneratedClass
 
_implements() - Method in class org.mule.devkit.model.code.GeneratedClass
Returns an iterator that walks the nested classes defined in this class.
_implements() - Method in class org.mule.devkit.model.code.NullType
 
_implements() - Method in class org.mule.devkit.model.code.TypeReference
Iterates all super interfaces directly implemented by this class/interface.
_implements() - Method in class org.mule.devkit.model.code.TypeVariable
Returns the interface bounds of this variable.
_instanceof(Type) - Method in class org.mule.devkit.model.code.AbstractExpression
 
_instanceof(Type) - Method in interface org.mule.devkit.model.code.GeneratedExpression
Returns "[this] instanceof [right]"
_instanceof(GeneratedExpression, Type) - Static method in class org.mule.devkit.model.code.Op
 
_interface(int, String) - Method in interface org.mule.devkit.model.code.ClassContainer
Add an interface to this class/package.
_interface(String) - Method in interface org.mule.devkit.model.code.ClassContainer
Adds a public interface to this package.
_interface(int, String) - Method in class org.mule.devkit.model.code.GeneratedClass
Add an interface to this package.
_interface(String) - Method in class org.mule.devkit.model.code.GeneratedClass
Adds a public interface to this package.
_interface(int, String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Add an interface to this package.
_interface(String) - Method in class org.mule.devkit.model.code.GeneratedPackage
Adds a public interface to this package.
_new(TypeReference) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
_new(Type) - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
_null() - Static method in class org.mule.devkit.model.code.ExpressionFactory
 
_package(String) - Method in class org.mule.devkit.model.code.CodeModel
Add a package to the list of packages to be generated
_package() - Method in class org.mule.devkit.model.code.GeneratedClass
 
_package() - Method in class org.mule.devkit.model.code.NullType
 
_package() - Method in class org.mule.devkit.model.code.TypeReference
Gets the package to which this class belongs.
_package() - Method in class org.mule.devkit.model.code.TypeVariable
 
_ref(Class<?>) - Method in class org.mule.devkit.model.code.CodeModel
 
_return() - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a return statement and add it to this block
_return(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a return statement and add it to this block
_super() - Static method in class org.mule.devkit.model.code.ExpressionFactory
Returns a reference to "super", an implicit reference to the super class.
_switch(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a switch/case statement and add it to this block
_then() - Method in class org.mule.devkit.model.code.GeneratedConditional
Return the block to be excuted by the "then" branch
_this() - Static method in class org.mule.devkit.model.code.ExpressionFactory
Returns a reference to "this", an implicit reference to the current object.
_throw(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a throw statement and add it to this block
_throws(TypeReference) - Method in class org.mule.devkit.model.code.GeneratedMethod
Add an exception to the list of exceptions that this method may throw.
_throws(Class<? extends Throwable>) - Method in class org.mule.devkit.model.code.GeneratedMethod
 
_try() - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a Try statement and add it to this block
_while(GeneratedExpression) - Method in class org.mule.devkit.model.code.GeneratedBlock
Create a While statement and add it to this block
A B C D E F G H I J L M N O P Q R S T U V W X Z _ 

Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.