I'm trying to get the parameterized type of a member on a symbol in a MACRO context. I only have a symbol available (can't use weakTypeOf[List[Blah]]) because I am iterating over a bunch of classes.
val meWantArg = classSymbol.member("paramList": TermName).typeSignature
returns...
=> List[IWantThis]
How do I get IWantThis Type object???
I've tried:
meWantArg.typeSymbol.asType.typeParams //returns List(type A)
I've tried extraction:
TypeRef(_,_,args) = meWantArg //returns ()
Keep in mind, I am using the 2.10.2 macro plugin.