Contains the following intentions:
- New Replace Qualified Name With Import is replacing Replace Qualified Name With Import intention from IntentionPowerPack.
Compared to the IntentionPowerPack implementation this is fixing some bugs and is adding new functionalities:
- will be able to perform the intention only if this is possible.
- will be able to apply the intention on expressions too, not only on type definitions.
- will add an import statement only if it is needed.
- Replace all qualified name references with import is a new intention that will replace all occurrences of
qualified Java class with their short version. This intention is working like the version above except that will change
all the elements that are the same with the element selected.
General usage instructions:
See IntentionPowerPack documentation for general usage.