Replaces an on-demand import statement with the equivalent single class import statements.