Package | Description |
---|---|
org.codehaus.modello.plugin.java | |
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method and Description |
---|---|
private void |
JavaModelloGenerator.createInstanceAndSetProperties(ModelClass modelClass,
JConstructor constructor,
JSourceCode sc) |
private void |
JavaModelloGenerator.generateBuilder(ModelClass modelClass,
JClass builderClass,
JConstructor outherClassConstructor) |
private void |
JavaModelloGenerator.generateStaticCreator(ModelClass modelClass,
JClass jClass,
JConstructor constructor) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<JConstructor> |
JClass._constructors
The list of constructors for this JClass
|
Modifier and Type | Method and Description |
---|---|
JConstructor |
JClass.createConstructor()
Creates a new JConstructor and adds it to this
JClass.
|
JConstructor |
JClass.createConstructor(JParameter[] params)
Creates a new JConstructor and adds it to this
JClass.
|
JConstructor |
JClass.getConstructor(int index)
Returns the constructor at the specified index.
|
JConstructor[] |
JClass.getConstructors()
Returns the an array of the JConstructors contained within this JClass
|
Modifier and Type | Method and Description |
---|---|
void |
JClass.addConstructor(JConstructor constructor)
Adds the given Constructor to this classes list of constructors.
|
boolean |
JClass.removeConstructor(JConstructor constructor)
Removes the given constructor from this JClass
|