summaryrefslogtreecommitdiff
path: root/src/library/scala/annotation
diff options
context:
space:
mode:
authorstepancheg <stepancheg@epfl.ch>2009-09-26 14:43:01 +0000
committerstepancheg <stepancheg@epfl.ch>2009-09-26 14:43:01 +0000
commit2a5664146d7fa932c09ae6ac035748ada269e54e (patch)
tree4dfc1594f64ceb9a521272ab56b41cc1d3563a16 /src/library/scala/annotation
parent3fb279ed38ac8c6cb8614abfd1cda374429676f8 (diff)
downloadscala-2a5664146d7fa932c09ae6ac035748ada269e54e.tar.gz
scala-2a5664146d7fa932c09ae6ac035748ada269e54e.tar.bz2
scala-2a5664146d7fa932c09ae6ac035748ada269e54e.zip
add @since scaladoc tag to scala.annotation.*
Diffstat (limited to 'src/library/scala/annotation')
-rw-r--r--src/library/scala/annotation/elidable.scala4
-rw-r--r--src/library/scala/annotation/experimental.scala2
-rw-r--r--src/library/scala/annotation/switch.scala2
-rw-r--r--src/library/scala/annotation/tailrec.scala2
-rw-r--r--src/library/scala/annotation/unchecked/uncheckedStable.scala2
-rw-r--r--src/library/scala/annotation/unchecked/uncheckedVariance.scala2
6 files changed, 14 insertions, 0 deletions
diff --git a/src/library/scala/annotation/elidable.scala b/src/library/scala/annotation/elidable.scala
index ef82c4d8d2..a58b696844 100644
--- a/src/library/scala/annotation/elidable.scala
+++ b/src/library/scala/annotation/elidable.scala
@@ -24,6 +24,8 @@ import java.util.logging.Level
* @elidable(FINE) def bar = log("bar")
*
* scalac -Xelide-methods-below=1000
+ *
+ * @since 2.8
*/
final class elidable(final val level: Int) extends StaticAnnotation {}
@@ -33,6 +35,8 @@ final class elidable(final val level: Int) extends StaticAnnotation {}
* time to check an elision level it's staring at a tree like
* (Select(Level, Select(FINEST, Apply(intValue, Nil))))
* instead of the number 300.
+ *
+ * @since 2.8
*/
object elidable {
final val ALL = Int.MinValue // Level.ALL.intValue()
diff --git a/src/library/scala/annotation/experimental.scala b/src/library/scala/annotation/experimental.scala
index bae5d7728b..9834ea4b21 100644
--- a/src/library/scala/annotation/experimental.scala
+++ b/src/library/scala/annotation/experimental.scala
@@ -10,6 +10,8 @@ package scala.annotation
/** <p>
* An annotation for experimental features.
* </p>
+ *
+ * @since 2.8
*/
final class experimental(message: String) extends StaticAnnotation {
def this() = this("")
diff --git a/src/library/scala/annotation/switch.scala b/src/library/scala/annotation/switch.scala
index 7a888ce904..3bb2a9d211 100644
--- a/src/library/scala/annotation/switch.scala
+++ b/src/library/scala/annotation/switch.scala
@@ -32,5 +32,7 @@ package scala.annotation
* // more cases
* }
* }</pre>
+ *
+ * @since 2.8
*/
final class switch extends StaticAnnotation
diff --git a/src/library/scala/annotation/tailrec.scala b/src/library/scala/annotation/tailrec.scala
index 6ce23a92fa..6773b206c2 100644
--- a/src/library/scala/annotation/tailrec.scala
+++ b/src/library/scala/annotation/tailrec.scala
@@ -12,5 +12,7 @@ package scala.annotation
* with tail call optimization. If it is present, the compiler will
* issue an error if the method cannot be optimized into a loop.
* </p>
+ *
+ * @since 2.8
*/
final class tailrec extends StaticAnnotation
diff --git a/src/library/scala/annotation/unchecked/uncheckedStable.scala b/src/library/scala/annotation/unchecked/uncheckedStable.scala
index 9fc7be654d..da4f219dfd 100644
--- a/src/library/scala/annotation/unchecked/uncheckedStable.scala
+++ b/src/library/scala/annotation/unchecked/uncheckedStable.scala
@@ -9,5 +9,7 @@ package scala.annotation.unchecked
/** An annotation for values that are assumed to be stable even though their
* types are volatile.
+ *
+ * @since 2.7
*/
final class uncheckedStable extends StaticAnnotation {}
diff --git a/src/library/scala/annotation/unchecked/uncheckedVariance.scala b/src/library/scala/annotation/unchecked/uncheckedVariance.scala
index 20ed46dcdd..878dd31766 100644
--- a/src/library/scala/annotation/unchecked/uncheckedVariance.scala
+++ b/src/library/scala/annotation/unchecked/uncheckedVariance.scala
@@ -9,5 +9,7 @@ package scala.annotation.unchecked
/** An annotation for type arguments for which one wants to suppress variance checking
* types are volatile.
+ *
+ * @since 2.7
*/
final class uncheckedVariance extends StaticAnnotation {}