- <init>
Creates an import manager for the given compilation unit package and short name.
This is the preferr
- addImport
Registers an import for the given package name and short name. Note that the $
notation for inner c
- addMasterImport
Reserves the import mapping for the given package and short name of the
compilation unit. The $ nota
- addPseudoImport
Registers a pseudo-import for the given qualified name. A psuedo-import reserves
the mapping from sh
- getImportedName
Returns the equivalent imported short name for the given qualified name, if
there is one, or the qua
- addCompilationUnitImports
Registers #addPseudoImport(String) for all of the import declarations in the
specified compilation u
- addJavaLangImports
Ensures that explicit import declarations will be added for classes from
java.lang with the specifi
- computeSortedImports
Returns the sorted, formatted import declarations that should be added to the
compilation unit. Each
- getImports
Returns the list of qualified names for which imports are to be added to the
compilation unit.
- basicAdd
- basicGetImportedName
Gets the imported name for a single qualified name, optionally automatically
importing if possible.
- collapse