Uses of Class
org.codehaus.modello.plugin.java.javasource.JSourceWriter
-
Uses of JSourceWriter in org.codehaus.modello.plugin.java
Modifier and TypeMethodDescriptionprotected JSourceWriter
AbstractJavaModelloGenerator.newJSourceWriter
(String packageName, String className) Create a new java source file writer, with configured encoding. -
Uses of JSourceWriter in org.codehaus.modello.plugin.java.javasource
Modifier and TypeMethodDescriptionvoid
JAnnotations.print
(JSourceWriter jsw) prints this Annotations using the given JSourceWritervoid
JClass.print
(JSourceWriter jsw) Prints the source code for this JClass to the given JSourceWritervoid
JClass.print
(JSourceWriter jsw, boolean classOnly) Prints the source code for this JClass to the given JSourceWritervoid
JComment.print
(JSourceWriter jsw) prints this JComment using the given JSourceWritervoid
JCompUnit.print
(JSourceWriter jsw) Prints the source code for this JClass.void
JConstructor.print
(JSourceWriter jsw) void
JDocComment.print
(JSourceWriter jsw) prints this JavaDoc comment using the given JSourceWritervoid
JInterface.print
(JSourceWriter jsw) Prints the source code for this JInterface to the given JSourceWritervoid
JInterface.print
(JSourceWriter jsw, boolean classOnly) Prints the source code for this JInterface to the given JSourceWritervoid
JMethod.print
(JSourceWriter jsw) Prints this JMethod to the given JSourceWriter.void
JMethodSignature.print
(JSourceWriter jsw) Prints the method signature.void
JMethodSignature.print
(JSourceWriter jsw, boolean printJavaDoc) Prints the method signature.void
JSourceCode.print
(JSourceWriter jsw) Prints this JSourceCode to the given JSourceWriterabstract void
JStructure.print
(JSourceWriter jsw) Prints the source code for this JStructure to the given JSourceWriter.void
JStructure.printHeader
(JSourceWriter jsw) A utility method that prints the header to the given JSourceWritervoid
JStructure.printImportDeclarations
(JSourceWriter jsw) A utility method that prints the imports to the given JSourceWriterprotected static void
JStructure.printlnWithPrefix
(String prefix, 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 JSourceWriterfinal void
JCompUnit.printStructures
(JSourceWriter jsw, boolean printPublic) Print the source code for the contained JClass objects.