diff options
Diffstat (limited to 'src/library')
-rwxr-xr-x | src/library/scala/reflect/api/Symbols.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/library/scala/reflect/api/Symbols.scala b/src/library/scala/reflect/api/Symbols.scala index 383312b8f5..ab59a4a39a 100755 --- a/src/library/scala/reflect/api/Symbols.scala +++ b/src/library/scala/reflect/api/Symbols.scala @@ -134,6 +134,10 @@ trait Symbols { self: Universe => */ def isAbstractType : Boolean + /** Is this symbol an overloaded method? + */ + def isOverloaded: Boolean + /** The type signature of this symbol. * Note if the symbol is a member of a class, one almost always is interested * in `typeSignatureIn` with a site type instead. @@ -180,6 +184,11 @@ trait Symbols { self: Universe => */ def selfType: Type + /** The overloaded alternatives of this symbol */ + def alternatives: List[Symbol] + + def resolveOverloaded(pre: Type = NoPrefix, targs: Seq[Type] = List(), actuals: Seq[Type]): Symbol + /** A fresh symbol with given name `name`, position `pos` and flags `flags` that has * the current symbol as its owner. */ |