Uses of Class
org.codehaus.modello.plugin.java.javasource.JClass
-
Packages that use JClass Package Description org.codehaus.modello.plugin.java org.codehaus.modello.plugin.java.javasource -
-
Uses of JClass in org.codehaus.modello.plugin.java
Methods in org.codehaus.modello.plugin.java with parameters of type JClass Modifier and Type Method Description protected void
AbstractJavaModelloGenerator. addModelImports(JClass jClass, BaseElement baseElem)
protected void
AbstractJavaModelloGenerator. initHeader(JClass clazz)
-
Uses of JClass in org.codehaus.modello.plugin.java.javasource
Methods in org.codehaus.modello.plugin.java.javasource that return JClass Modifier and Type Method Description JClass
JClass. createInnerClass(java.lang.String localname)
Creates and returns an inner-class for this JClassJClass
JConstructor. getDeclaringClass()
Returns the class in which this JMember has been declaredJClass
JField. getDeclaringClass()
Returns the class in which this JField has been declaredJClass[]
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.Methods in org.codehaus.modello.plugin.java.javasource with parameters of type JClass Modifier and Type Method 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)
Constructors in org.codehaus.modello.plugin.java.javasource with parameters of type JClass Constructor 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.
-