final
class.
Suggests replacing the type parameter with the type of the specifiedfinal
class since
final
classes cannot be extended.
Example:
void foo() {
List<? extends Integer> list; // Warning: the Integer class is a final class
}
After the quick-fix is applied:
void foo() {
List<Integer> list;
}