public interface ImportScanner
Modifier and Type | Method and Description |
---|---|
void |
computeImports(CtElement element)
Computes import of a
CtElement |
java.util.Set<CtImport> |
getAllImports()
Use computeImports or computeAllImports before getting the different imports.
|
void |
initWithImports(java.lang.Iterable<CtImport> importCollection)
Specify the original imports to use before computing new imports.
|
boolean |
isImported(CtReference ref)
Checks if the type is already imported.
|
java.util.Set<CtImport> getAllImports()
boolean isImported(CtReference ref)
void initWithImports(java.lang.Iterable<CtImport> importCollection)
Copyright © 2007–2021 Inria. All rights reserved.