Main.java:30: error: method register in class RegisterHandler<T> cannot be applied to given types;
new GenericClassRegisterHandler().register( GenericClass.class );
^
required: Class<GenericClass<?>>
found: Class<GenericClass>
reason: actual argument Class<GenericClass> cannot be converted to Class<GenericClass<?>> by method invocation conversion
where T is a type-variable:
T extends Object declared in class RegisterHandler
1 error