I ran into a problem with generic types:
public static class Field<T> { private Class<? extends T> clazz; public Field(Class<? extends T> clazz) { this.clazz = clazz; } } public static void main(String[] args) {
What is the best solution between 1. and 4. (or any other, by the way)?
sp00m source share