Converts the selected qualified reference into a simple reference and adds a static import statement for the corresponding class.