If you have a method with the signature:

Class<? extends List<String>> getObjectType()
{
        return ?????;
}

How do you return a proper generic version of the List class?

return List.class; //errors
return List<String>.class; //errors
return List.class<String>; //errors

what is the proper syntax to handle this?

Edit
Report