Package | Description |
---|---|
org.exolab.javasource |
This package contains classes that represent Java Source objects for Castor XML
code generator.
|
Modifier and Type | Method and Description |
---|---|
JConstructor |
AbstractJClass.createConstructor()
Creates a new JConstructor and adds it to this JClass.
|
JConstructor |
AbstractJClass.createConstructor(JParameter[] params)
Creates a new JConstructor and adds it to this JClass.
|
JConstructor |
AbstractJClass.getConstructor(int index)
Returns the constructor at the specified index.
|
JConstructor[] |
AbstractJClass.getConstructors()
Returns the an array of the JConstructors contained within this JClass.
|
Modifier and Type | Method and Description |
---|---|
void |
JEnum.addConstructor(JConstructor constructor)
Override to only allow private constructors.
|
void |
AbstractJClass.addConstructor(JConstructor constructor)
Adds the given Constructor to this classes list of constructors.
|
boolean |
AbstractJClass.removeConstructor(JConstructor constructor)
Removes the given constructor from this JClass.
|
Copyright © 2019. All rights reserved.