import statements.
Regular import statements are unneeded when the classes and packages that are imported are not used in the source file.
Similarly for static imports when the static fields and methods that are imported are not used in the source file.
Example:
import java.util.ArrayList;
public class Example {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
After the quick fix is applied the result looks like:
public class Example {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}