Class JClass.JInnerClass
java.lang.Object
org.codehaus.modello.plugin.java.javasource.JType
org.codehaus.modello.plugin.java.javasource.JStructure
org.codehaus.modello.plugin.java.javasource.JClass
org.codehaus.modello.plugin.java.javasource.JClass.JInnerClass
- Enclosing class:
- JClass
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.modello.plugin.java.javasource.JClass
JClass.JInnerClass
-
Field Summary
Fields inherited from class org.codehaus.modello.plugin.java.javasource.JStructure
DEFAULT_HEADER, version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setPackageName
(String packageName) Allows changing the package name of this JStructureMethods inherited from class org.codehaus.modello.plugin.java.javasource.JClass
addConstructor, addField, addMember, addMethod, addMethod, addMethods, addSourceCode, createConstructor, createConstructor, createInnerClass, getConstructor, getConstructors, getField, getFields, getInnerClasses, getMethod, getMethod, getMethods, getStaticInitializationCode, getSuperClass, print, print, removeConstructor, removeField, removeField, removeInnerClass, setSuperClass
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JStructure
addImport, addInterface, addInterface, appendAnnotation, getAnnotations, getFilename, getHeader, getImports, getInterfaceCount, getInterfaces, getJDocComment, getModifiers, getName, getPackageFromClassName, getPackageName, hasImport, isAbstract, isValidClassName, print, print, printHeader, printImportDeclarations, printlnWithPrefix, printPackageDeclaration, removeImport, setAnnotations, setHeader
Methods inherited from class org.codehaus.modello.plugin.java.javasource.JType
changePackage, createArray, getComponentType, getLocalName, getName, isArray, isPrimitive, toString
-
Constructor Details
-
JInnerClass
JInnerClass(String name)
-
-
Method Details
-
setPackageName
Allows changing the package name of this JStructure- Overrides:
setPackageName
in classJStructure
- Parameters:
packageName
- the package name to use
-