diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-08-27 16:40:46 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-08-27 16:40:46 +0200 |
commit | c6b6fee65c41a8a1f7b54379e45fc650806aa022 (patch) | |
tree | b2e7c377eb6aa63993a32b79a2255a7b9647e5f2 /src/reflect | |
parent | f09920bb83797bfca2d2042aa6c38c5002c85e59 (diff) | |
download | scala-c6b6fee65c41a8a1f7b54379e45fc650806aa022.tar.gz scala-c6b6fee65c41a8a1f7b54379e45fc650806aa022.tar.bz2 scala-c6b6fee65c41a8a1f7b54379e45fc650806aa022.zip |
exposes MethodSymbol.isPrimaryConstructor
Doesn't seem to be inferrable from the API we expose right now
Diffstat (limited to 'src/reflect')
-rw-r--r-- | src/reflect/scala/reflect/api/Symbols.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reflect/scala/reflect/api/Symbols.scala b/src/reflect/scala/reflect/api/Symbols.scala index c3fbcb4ed8..80caf22c17 100644 --- a/src/reflect/scala/reflect/api/Symbols.scala +++ b/src/reflect/scala/reflect/api/Symbols.scala @@ -327,6 +327,9 @@ trait Symbols extends base.Symbols { self: Universe => */ def isConstructor: Boolean + /** Does this symbol denote the primary constructor of its enclosing class? */ + def isPrimaryConstructor: Boolean + /** For a polymorphic method, its type parameters, the empty list for all other methods */ def typeParams: List[Symbol] |