Package | Description |
---|---|
net.sourceforge.jenesis4java |
Modifier and Type | Method and Description |
---|---|
Import |
CompilationUnit.addImport(Class<?> clazz)
Adds the given import declaration to the compilation unit.
|
Import |
ClassDeclaration.addImport(Class<?> clazz)
Adds the given import declaration to the compilation unit.
|
Import |
CompilationUnit.addImport(String name)
Adds the given import declaration to the compilation unit.
|
Import |
ClassDeclaration.addImport(String name)
Adds the given import declaration to the compilation unit.
|
Import |
Import.setName(String name)
Sets the name of the class or package to be imported.
|
Modifier and Type | Method and Description |
---|---|
List<Import> |
CompilationUnit.getImports()
Gets the list of imports as an list of
ImportDeclaration |
Copyright © 2000–2018 jenesis4java. All rights reserved.