summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-methodsymbol-returntype.scala
Commit message (Collapse)AuthorAgeFilesLines
* Changes reflection tests to use shorter name constructorsDen Shabalin2012-12-251-8/+8
|
* more refinements of reflection APIEugene Burmako2012-08-021-0/+24
Added a bunch of test methods to symbols to cover public flags: (e.g. isPrivate, isFinal, isOverride, isImplicit, etc). I'd argue that the API duplication w.r.t flag sets is trumped by unified interface to tests and better encapsulation. Also updated the API to be easier to understand after prior exposure to Java or .NET reflection APIs: 1) Added typeParams to TypeSymbol and ClassSymbol. 2) Renamed MethodSymbol.resultType to returnType. 3) Removed the distinction between MethodSymbol.params vs MethodSymbol.allParams now we just have MethodSymbol.params: List[List[Symbol]].