Adds the given statement to this JSourceCode.
Adds the given statement to this JSourceCode.
Adds a JClass which should be printed in this file.
Adds the given Constructor to this classes list of constructors.
Adds the given JClass to the set of classes that
contain this method.
Adds the given JDocDescriptor to this JDocComment
Adds the given Exception to this Method's throws clause.
Adds the given Exception to this JMethodSignature's throws clause.
Adds the given JField to this JClass
Adds the given JField to this JStructure.
Adds the given statement to this JSourceCode.
Adds a JInterface which should be printed in this file.
Adds the given JMember to this JClass
Adds the given JMember to this JStructure.
Adds the given JMethod to this JClass
Adds the given JMethod to this JClass
Adds the given JMethodSignature to this JClass
Adds the given array of JMethods to this JClass
Adds the given parameter to this Methods list of parameters
Adds the given parameter to this JMethod's list of parameters.
Adds the given parameter to this JMethodSignature's list of
parameters.
Adds the given JStructure (either a JInterface or
a JClass) to this JCompUnit.
Appends the given String to the last line in this
JSourceCode
Appends the comment String to this JDocComment
Appends the comment String to this JDocComment
The auto style, allows this JComment to automatically
choose a style for this comment
Allows subtypes, such as JClass to alter the package to which
this JType belongs
Char - static field in class org.codehaus.modello.plugin.java.javasource.
JType Clears all the code statements from this JSourceCode
Compares the type of this JDocDescriptor with the given descriptor.
Generate a basic conversion class between two versions of a model.
Creates a copy of this JModifiers
Copies the contents of this JSourceCode into the given JSourceCode
Creates a JType Object representing an array of the current
JType.
Creates a new author descriptor
Creates a new author descriptor
Creates a new JConstructor and adds it to this
JClass.
Creates a new JConstructor and adds it to this
JClass.
Creates a new exception descriptor
Creates a new exception descriptor
Creates and returns an inner-class for this JClass
Creates a new param descriptor
Creates a new param descriptor
Creates a Properties objects.
Creates a new reference descriptor
Creates a new reference descriptor
Creates a new return descriptor
Creates a new return descriptor
Creates a new version descriptor
Creates a new version descriptor
Override this method to customize the values in the properties set.
Override this method to customize the values in the properties set.
Returns the Object at the given index.
Returns the Object associated with the given name.
Returns the list of all fields in this class.
Returns all the fields in this class and all super classes if withInheritedField equals to true.
Return the child attribute fields of this class.
Returns the String value of this JDocComment.
Returns the comment describing this member.
If this JType is an array this method will returns the component type
of the array, otherwise null will be returned.
Returns the constructor at the specified index.
Returns the an array of the JConstructors contained within this JClass
Returns the class in which this JMember has been declared
Returns the class in which this JField has been declared
Returns the description String for this descriptor
Returns an enumeration of the parameters of this JDocComment
Returns the exceptions that this JMember throws.
Returns the exceptions that this JMethodSignature lists
in it's throws clause.
Returns the member with the given name, or null if no member
was found with the given name
Returns the field with the given name, or null if no field
was found with the given name.
Returns an array of all the JFields of this JClass
Returns an array of all the JFields of this JStructure
Returns the list of all fields in this class for a specific version.
Return the child fields of this class.
Returns the name of the file that this JCompUnit would be
printed as, given a call to #print.
returns a array of String containing all import classes/packages,
also imports within the same package of this object.
Returns the current indent size (getIndentLevel()*tabSize);
Returns the initialization String for this JField
Returns an array of JClass (the inner classes)
contained within this JClass.
Returns the list of all interfaces of this class.
Returns the JDocComment describing this member.
Returns the JDocComment describing this JMethodSignature
Obtain the comma delimited string of keyword sources that the specified (potential) word
(might) belong to.
Returns the length of the comment
Returns the line separator being used by this JSourceWriter
Returns the JMethod located at the specified index
Returns the JMethodSignature at the given index.
Returns the first occurance of the method with the
given name, starting from the specified index.
Returns the JMethodSignature with the given name,
and occuring at or after the given starting index.
Returns an array of all the JMethods of this JClass
Returns an array of all the JMethodSignatures of this JInterface.
Returns the modifiers for this JConstructor
Returns the modifiers for this JField
Returns the modifiers for this JMember.
Returns the modifiers for this JMethodSignature.
Returns the name of the object being described.
getName() - method in class org.codehaus.modello.plugin.java.javasource.
JField Returns the name of this JField
Returns the name of this JMember.
Returns the name of the method.
Returns the name of the parameter
getName() - method in class org.codehaus.modello.plugin.java.javasource.
JType Returns the name associated with the given Object
Return a Vector of Objects
Returns the name of the package that this JCompUnit is a member of
Returns the Parameter Descriptor associated with the
given name
Returns the JParameter at the given index.
Returns the JParameter at the given index.
Returns an array of JParameters consisting of the parameters
of this Method in declared order
Returns the set of JParameters for this JMethod.
Returns the set of JParameters for this JMethodSignature
Note: the array is a copy, the params in the array
are the actual references.
Returns the JType that represents the return type of the method.
Returns the JType that represents the return type for the
method signature.
Returns the JMethodSignature for this JMethod.
Returns the JSourceCode for the method body.
Returns the JSourceCode for the static initializer
of this JClass
Gets the super Class that this class extends
Returns the type of this JDocDescriptor
getType() - method in class org.codehaus.modello.plugin.java.javasource.
JField Returns the JType represting the type of this JField
Returns the parameter type
Returns true if this
is greater or equals that other
.
Returns true if this
is greater that other
.
Increases the current indent level by 1
Increases the indentation level by 1
Returns the index of the Object which has been
mapped (associated) with the given name
Int - static field in class org.codehaus.modello.plugin.java.javasource.
JType Returns true if the abstract qualifier is present.
isArray() - method in class org.codehaus.modello.plugin.java.javasource.
JType Checks to see if this JType represents an array.
Returns true if this JSourceCode is empty (ie.
Tests the provided word to see if it is a keyword.
Checks to see if the cursor is positioned on a new line
Returns true if the modifier represented is package (= without qualifier).
Checks to see if this JType represents a primitive
Returns true if the modifier represented is private.
Returns true if the modifier represented is protected.
Returns true if the modifier represented is public.
Returns true if the modifier represented is static.
Returns true if the modifier represented is transient.
Similiar to HEADER_STYLE, but starts with: \/**
JClass - class org.codehaus.modello.plugin.java.javasource.
JClass A representation of the Java Source code for a Java Class.
Creates a new JClass with the given name
A class that represents a Java comment.
Creates a new Java Comment
Creates a new Java comment with the given style
A representation of the Java Source code for a Java compilation
unit.
Creates a new JCompUnit with the given JClass (which must have
been created with either a full class name or package/local
name) as the public class.
Creates a new JCompUnit with the given JInterface as public interface
Package and file name are taken from jInterface.
A class for handling source code for a constructor of a JClass
Creates a new method with the given name and returnType.
A class that "SOMEWHAT" represents a Java Doc Comment.
Creates a new JavaDoc Comment
A descriptor for a JavaDoc comment
JField - class org.codehaus.modello.plugin.java.javasource.
JField A class which holds information about a field.
A representation of the Java Source code for a Java Interface.
Creates a new JInterface with the given name.
A class which holds information about the methods of
a JClass.
Creates a new JMethod with the given name and returnType.
Creates a new JMethod with the given name and "void" return type.
A class which holds information about the signature
of a JMethod.
Creates a new method with the given name and return type.
The set of modifiers for a Method or Member variable
Creates a new JModifiers class, by default the
modifiers presented are public.
A simple String to Object mapping which preserves order.
Creates a new JNamedMap with the given size.
Represents a parameter to a JMethod.
Creates a new JParameter with the given type, and name
A class for holding in-memory Java source code.
Creates an empty JSourceCode
Creates a JSourceCode and adds the given String
to it's contents
The writer used by the modello classes
Creates a new JSourceWriter
Creates a new JSourceWriter
Creates a new JSourceWriter
Creates a new JSourceWriter
JType - class org.codehaus.modello.plugin.java.javasource.
JType Creates a new JType with the given name
Test drive method...to be removed or commented out
Changes the visibility qualifier to package (= without qualifier).
Changes the visibility qualifier to "private"
Changes the visibility qualifier to "protected"
Changes the visibility qualifier to "public"
The maximum number of characters per line
Model() - constructor for class org.codehaus.modello.model.
Model Creates classes that can convert between different versions of the model.
Creates a DOM4J reader from the model.
Creates a DOM4J writer from the model.
ModelloGenerateMojo - A dynamic way to use generators and modello plugins.
Creates Java beans from the Modello model.
Creates a jdom writer from the model that is capable of preserving element ordering
and comments.
Creates a JDO mapping from the Modello model.
Creates a JDO store from the Modello model.
Creates a JDO store from the Modello model.
Creates a Plexus Registry reader from the Modello model.
Creates a Plexus Registry writer from the Modello model.
Creates an StAX reader from the model.
Creates an StAX writer from the model.
Creates documentation for the model in xdoc format.
Creates an XPP3 reader from the model.
Creates an XPP3 writer from the model.
Creates an XML schema from the model.
The param descriptor (param)
Prints the source code for this JClass in the current directory
with the default line seperator of the the runtime platform.
Prints the source code for this JClass to the given JSourceWriter
prints this JComment using the given JSourceWriter
Prints the source code for this JClass.
prints this JavaDoc comment using the given JSourceWriter
Prints the source code for this JInterface to the given JSourceWriter
Prints this JMethod to the given JSourceWriter.
Prints the method signature.
Prints this JSourceCode to the given JSourceWriter
Prints the source code for this JClass to the given JSourceWriter
Prints the source code for this JInterface to the given JSourceWriter
Prints the method signature.
Prints the source code for this JClass
with the default line seperator of the the runtime platform.
Prints the source code for this JCompUnit.
Print the source code for the contained JClass objects.
Maps (associates) an Object with a name
The reference descriptor (see)
Removes and returns the Object located at the given index
Removes and returns the Object associated with the given name
Removes the given constructor from this JClass
Removes the given JClass from the set of classes that
contain this method.
Removes the given JField from this JClass
Removes the field with the given name from this JClass
Removes the given inner-class (JClass) from this JClass.
Compute the tagName of a given field.
The return descriptor (return)
Sets whether or not the "abstract" qualifier is present
This applies only to methods or classes.
Sets the comment describing this member.
Sets the comment String of this JDocComment
Sets the comment String of this JDocComment
Sets the comment describing this member.
Sets the comment describing this member.
Sets the comment describing this JMethodSignature.
Sets the description String for this descriptor
Sets whether or not the "final" qualifier is present
Sets the header comment for this JCompUnit
Sets the initialization string for this JField;
Allows some flexibility in declaring default values.
Sets the line separator to use at the end of each line
Sets the JModifiers for this JMethod.
Sets the JModifiers for this method signature.
Sets the name value of the JavaDoc field.
Sets the name of this JField
Sets the name of this parameter
Sets the given JSourceCode as the source code (method body)
for this JMethod.
Sets the given string as the source code (method body)
for this JMethod.
Sets whether or not the "static" qualifier is present
Sets the style for this JComment
Sets the super Class that this class extends
Sets whether or not the "transient" qualifier is present
Sets the type of this parameter
Short - static field in class org.codehaus.modello.plugin.java.javasource.
JType size() - method in class org.codehaus.modello.plugin.java.javasource.
JNamedMap Returns the number of Object associations currently in
this named map
SQLReservedWords - utility object to test against SQL Keywords.
Returns the String representation of this Java Doc Comment
Returns the String representation of this Java Doc Comment
Returns the String representation of this JDocDescriptor
Returns the String representation of this JMethod,
which is the method prototype.
Returns the String representation of this JMethod,
which is the method prototype.
Returns the String represetation of this JModifiers
Returns the String representation of this JParameter.
Returns the String representation of this JSourceCode
toString() - method in class org.codehaus.modello.plugin.java.javasource.
JType Returns the String representation of this JType, which is
simply the name of this type.