Import |
Importer.addImport(java.lang.Class<?> type) |
Add an import for the given Class type.
|
Import |
Importer.addImport(java.lang.String className) |
Add an import by qualified class name.
|
Import |
Importer.addImport(Import imprt) |
Add an import for the given Import type.
|
Import |
Importer.addImport(Type<?> type) |
Ensures the type passed as argument is included in the list of imports for this java source.
|
<T extends JavaType<?>> Import |
Importer.addImport(T type) |
Add an import for the given JavaType type.
|
Import |
Importer.getImport(java.lang.Class<?> type) |
Get the Import for the given Class type, if it exists; otherwise, return null;
|
Import |
Importer.getImport(java.lang.String literalValue) |
Get the Import for the given fully-qualified class name, if it exists; otherwise, return null;
|
Import |
Importer.getImport(Import imprt) |
Get the Import of the given Import type, if it exists; otherwise, return null;
|
<T extends JavaType<?>> Import |
Importer.getImport(T type) |
Get the Import for the given Importer type, if it exists; otherwise, return null;
|
Import |
Import.setName(java.lang.String name) |
Sets the data of this import object.
|