I have two classes:
class Base[A]{
def doSome:A
}
class StringImpl extends Base[String]
How can I infer (without manifest, only reflection analysys) that generic type A inside class StringImpl is a String? (In real case Iheritance structure may by match more complex that example)
Aucun commentaire:
Enregistrer un commentaire