
public interface JSources
| Modifier and Type | Method and Description |
|---|---|
JDocCommentable |
createPackageInfoFile(String packageName)
Create a
package-info.java file. |
JSourceFile |
createSourceFile(String packageName,
String fileName)
Create a source file.
|
void |
writeSources()
Write the source files.
|
JSourceFile createSourceFile(String packageName, String fileName)
packageName - the package name of the source filefileName - the source file name (excluding .java suffix)JDocCommentable createPackageInfoFile(String packageName)
package-info.java file.packageName - the package namevoid writeSources()
throws IOException
IOException - if a write operation failsCopyright © 2025 JBoss by Red Hat. All rights reserved.