Uses of Class
org.codehaus.modello.plugin.java.javasource.JClass
-
Uses of JClass in org.codehaus.modello.plugin.java
Modifier and TypeMethodDescriptionprotected void
AbstractJavaModelloGenerator.addModelImport
(JClass jClass, ModelType modelType, String basePackageName) protected void
AbstractJavaModelloGenerator.addModelImports
(JClass jClass, BaseElement baseElem) protected void
AbstractJavaModelloGenerator.initHeader
(JClass clazz) -
Uses of JClass in org.codehaus.modello.plugin.java.javasource
Modifier and TypeMethodDescriptionJClass.createInnerClass
(String localname) Creates and returns an inner-class for this JClassJConstructor.getDeclaringClass()
Returns the class in which this JMember has been declaredJField.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.Modifier and TypeMethodDescriptionvoid
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) ModifierConstructorDescriptionCreates 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.