Modifier and Type | Method and Description |
---|---|
JSourceFile |
JSourceFile._import(Class<?> type)
Add a type import to this source file.
|
JSourceFile |
JSourceFile._import(JType type)
Add a type import to this source file.
|
JSourceFile |
JSourceFile._import(String type)
Add a type import to this source file.
|
JSourceFile |
JSourceFile.blankLine()
Add a blank line to this source file.
|
JSourceFile |
JSources.createSourceFile(String packageName,
String fileName)
Create a source file.
|
JSourceFile |
JSourceFile.importStatic(Class<?> type,
String member)
Add a static member import to this source file.
|
JSourceFile |
JSourceFile.importStatic(JType type,
String member)
Add a static member import to this source file.
|
JSourceFile |
JSourceFile.importStatic(String type,
String member)
Add a static member import to this source file.
|
Copyright © 2016. All rights reserved.