Package | Description |
---|---|
org.codehaus.modello.plugin.java | |
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJavaModelloGenerator.addModelImports(JClass jClass,
BaseElement baseElem) |
protected void |
AbstractJavaModelloGenerator.initHeader(JClass clazz) |
Modifier and Type | Method and Description |
---|---|
JClass |
JClass.createInnerClass(String localname)
Creates and returns an inner-class for this JClass
|
JClass |
JConstructor.getDeclaringClass()
Returns the class in which this JMember has been declared
|
JClass |
JField.getDeclaringClass()
Returns the class in which this JField has been declared
|
JClass[] |
JMethod.getExceptions()
Returns the exceptions that this JMember throws.
|
JClass[] |
JMethodSignature.getExceptions()
Returns the exceptions that this JMethodSignature lists
in it's throws clause.
|
JClass[] |
JClass.getInnerClasses()
Returns an array of JClass (the inner classes)
contained within this JClass.
|
Modifier and Type | Method and Description |
---|---|
void |
JCompUnit.addClass(JClass jClass)
Adds a JClass which should be printed in this file.
|
protected void |
JMethod.addDeclaringClass(JClass jClass)
Adds the given JClass to the set of classes that
contain this method.
|
void |
JMethod.addException(JClass exp)
Adds the given Exception to this Method's throws clause.
|
void |
JMethodSignature.addException(JClass exp)
Adds the given Exception to this JMethodSignature's throws clause.
|
protected void |
JMethod.removeDeclaringClass(JClass jClass)
Removes the given JClass from the set of classes that
contain this method.
|
boolean |
JClass.removeInnerClass(JClass jClass)
Removes the given inner-class (JClass) from this JClass.
|
protected void |
JField.setDeclaringClass(JClass declaringClass) |
Constructor and Description |
---|
JCompUnit(JClass jClass)
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.
|
JConstructor(JClass declaringClass)
Creates a new method with the given name and returnType.
|
Copyright © 2001–2014 Codehaus. All rights reserved.