summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-09-14 14:01:11 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-09-14 20:55:41 +0200
commit2cc70c55af39bffa7418d49b507a1e88771708b4 (patch)
tree96e67b72e91df9d7fd4da9615196923adcbd74f7 /src
parentdb306cb526b941ed30613d9acf1c0958dd1405f7 (diff)
downloadscala-2cc70c55af39bffa7418d49b507a1e88771708b4.tar.gz
scala-2cc70c55af39bffa7418d49b507a1e88771708b4.tar.bz2
scala-2cc70c55af39bffa7418d49b507a1e88771708b4.zip
SI-6365 removes Symbol.hasAnnotation from the API
It's clearly redundant and also is susceptible to initialize-based bugs.
Diffstat (limited to 'src')
-rw-r--r--src/reflect/scala/reflect/api/Symbols.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/reflect/scala/reflect/api/Symbols.scala b/src/reflect/scala/reflect/api/Symbols.scala
index 1fbbc0c0a4..08680ca815 100644
--- a/src/reflect/scala/reflect/api/Symbols.scala
+++ b/src/reflect/scala/reflect/api/Symbols.scala
@@ -39,11 +39,6 @@ trait Symbols extends base.Symbols { self: Universe =>
// def annotations: List[AnnotationInfo]
def getAnnotations: List[AnnotationInfo]
- /** Whether this symbol carries an annotation for which the given
- * symbol is its typeSymbol.
- */
- def hasAnnotation(sym: Symbol): Boolean
-
/** For a class: the module or case class factory with the same name in the same package.
* For a module: the class with the same name in the same package.
* For all others: NoSymbol