Package | Description |
---|---|
org.codehaus.modello.plugin.java | |
org.codehaus.modello.plugin.java.javasource |
Modifier and Type | Method and Description |
---|---|
protected JSourceWriter |
AbstractJavaModelloGenerator.newJSourceWriter(java.lang.String packageName,
java.lang.String className)
Create a new java source file writer, with configured encoding.
|
Modifier and Type | Method and Description |
---|---|
void |
JClass.print(JSourceWriter jsw)
Prints the source code for this JClass to the given JSourceWriter
|
void |
JComment.print(JSourceWriter jsw)
prints this JComment using the given JSourceWriter
|
void |
JMethodSignature.print(JSourceWriter jsw)
Prints the method signature.
|
void |
JSourceCode.print(JSourceWriter jsw)
Prints this JSourceCode to the given JSourceWriter
|
void |
JDocComment.print(JSourceWriter jsw)
prints this JavaDoc comment using the given JSourceWriter
|
void |
JConstructor.print(JSourceWriter jsw) |
abstract void |
JStructure.print(JSourceWriter jsw)
Prints the source code for this JStructure to the given
JSourceWriter.
|
void |
JCompUnit.print(JSourceWriter jsw)
Prints the source code for this JClass.
|
void |
JAnnotations.print(JSourceWriter jsw)
prints this Annotations using the given JSourceWriter
|
void |
JInterface.print(JSourceWriter jsw)
Prints the source code for this JInterface to the given JSourceWriter
|
void |
JMethod.print(JSourceWriter jsw)
Prints this JMethod to the given JSourceWriter.
|
void |
JClass.print(JSourceWriter jsw,
boolean classOnly)
Prints the source code for this JClass to the given JSourceWriter
|
void |
JMethodSignature.print(JSourceWriter jsw,
boolean printJavaDoc)
Prints the method signature.
|
protected static void |
Header.print(JSourceWriter jsw,
boolean printPublic)
Print the specified header to the given Writer.
|
void |
JInterface.print(JSourceWriter jsw,
boolean classOnly)
Prints the source code for this JInterface to the given JSourceWriter
|
void |
JStructure.printHeader(JSourceWriter jsw)
A utility method that prints the header to the given
JSourceWriter
|
void |
JStructure.printImportDeclarations(JSourceWriter jsw)
A utility method that prints the imports to the given
JSourceWriter
|
protected static void |
JStructure.printlnWithPrefix(java.lang.String prefix,
java.lang.String source,
JSourceWriter jsw)
Prints the given source string to the JSourceWriter using the given prefix at
the beginning of each new line.
|
void |
JStructure.printPackageDeclaration(JSourceWriter jsw)
A utility method that prints the packageDeclaration to
the given JSourceWriter
|
void |
JCompUnit.printStructures(JSourceWriter jsw,
boolean printPublic)
Print the source code for the contained JClass objects.
|