summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-methodsymbol-typeparams.scala
Commit message (Collapse)AuthorAgeFilesLines
* renames asType to toType and asXXXSymbol to asXXXEugene Burmako2012-08-021-8/+8
| | | | | | | This renaming arguably makes the intent of `asType` more clear, but more importantly it shaves 6 symbols off pervasive casts that are required to anything meaningful with reflection API (as in mirror.reflectMethod(tpe.member(newTermName("x")).asMethodSymbol)).
* miscellaneous refinements of reflection APIEugene Burmako2012-08-021-0/+24
1) Removed unnecessary (i.e. implementable with pattern matching) type APIs. 2) Renamed isHigherKinded to takesTypeArgs making it easier to understand. 2) typeParams and resultType have been moved from MethodType to MethodSymbol Strictly speaking they are superfluous, but they are used very often.