summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/ReflectionExtractors.scala
Commit message (Collapse)AuthorAgeFilesLines
* Adds extractors for TypeName, TermName and ModifiersDen Shabalin2012-12-251-0/+52
This change allows to pattern match over type names, term names and modifiers. Otherwise it can be quite painful to match over complex trees as each name or modifiers requires a guard. This pull request also changes the name of default constructor for term and type names i.e. TypeName(s) instead of newTermName(s). This is shorter to type, more consistent with the rest of reflection api and consistent with the way it will be pattern matched later on.