For example, for classes
class Foo<T> { public void doSomething(T t) { ... } } class Bar extends Foo<String> { }
Is there a way to tell the concrete class of the argument of doSomething in Bar during runtime through reflection?
doSomething
Bar
Aucun commentaire:
Enregistrer un commentaire