Info relating to an import clause
Constructors
Members
Compute info relating to the selector list
Compute info relating to the selector list
The names that are excluded from any wildcard import
The names that are excluded from any wildcard import
The implicit references imported by this import clause
The implicit references imported by this import clause
Does the import clause end with wildcard?
Does the import clause end with wildcard?
The original names imported by-name before renaming
The original names imported by-name before renaming
A mapping from renamed to original names
A mapping from renamed to original names
The (TermRef) type of the qualifier of the import clause
The (TermRef) type of the qualifier of the import clause
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
The text representation of this showable element. This normally dispatches to a pattern matching method in Printers.
The root import symbol hidden by this symbol, or NoSymbol if no such symbol is hidden. Note: this computation needs to work even for un-initialized imp...
override import Predef.{any2stringAdd => _, StringAdd => _, _} // disables String +
override import java.lang.{} // disables all imports
The root import symbol hidden by this symbol, or NoSymbol if no such symbol is hidden. Note: this computation needs to work even for un-initialized import infos, and is not allowed to force initialization.
TODO: Once we have fully bootstrapped, I would prefer if we expressed
unimport with an override
modifier, and generalized it to all imports.
I believe this would be more transparent than the current set of conditions. E.g.
override import Predef.{any2stringAdd => _, StringAdd => _, _} // disables String +
override import java.lang.{} // disables all imports