Package | Description |
---|---|
org.codehaus.modello.plugin.java.javasource |
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
|
Copyright © 2001–2015 Codehaus. All rights reserved.