Uses of Class
org.codehaus.modello.plugin.java.javasource.JClass
Packages that use JClass
-
Uses of JClass in org.codehaus.modello.plugin.java
Methods in org.codehaus.modello.plugin.java with parameters of type JClassModifier and TypeMethodDescriptionprotected voidAbstractJavaModelloGenerator.addModelImport(JClass jClass, ModelType modelType, String basePackageName) protected voidAbstractJavaModelloGenerator.addModelImports(JClass jClass, BaseElement baseElem) protected voidAbstractJavaModelloGenerator.initHeader(JClass clazz) -
Uses of JClass in org.codehaus.modello.plugin.java.javasource
Methods in org.codehaus.modello.plugin.java.javasource that return JClassModifier 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.Methods in org.codehaus.modello.plugin.java.javasource with parameters of type JClassModifier and TypeMethodDescriptionvoidAdds a JClass which should be printed in this file.protected voidJMethod.addDeclaringClass(JClass jClass) Adds the given JClass to the set of classes that contain this method.voidJMethod.addException(JClass exp) Adds the given Exception to this Method's throws clause.voidJMethodSignature.addException(JClass exp) Adds the given Exception to this JMethodSignature's throws clause.protected voidJMethod.removeDeclaringClass(JClass jClass) Removes the given JClass from the set of classes that contain this method.booleanJClass.removeInnerClass(JClass jClass) Removes the given inner-class (JClass) from this JClass.protected voidJField.setDeclaringClass(JClass declaringClass) Constructors in org.codehaus.modello.plugin.java.javasource with parameters of type JClassModifierConstructorDescriptionCreates 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.