summaryrefslogtreecommitdiff
path: root/src/library/scala/annotation/serializable.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/annotation/serializable.scala')
-rw-r--r--src/library/scala/annotation/serializable.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/library/scala/annotation/serializable.scala b/src/library/scala/annotation/serializable.scala
new file mode 100644
index 0000000000..1364d7dcce
--- /dev/null
+++ b/src/library/scala/annotation/serializable.scala
@@ -0,0 +1,15 @@
+/* __ *\
+** ________ ___ / / ___ Scala API **
+** / __/ __// _ | / / / _ | (c) 2002-2010, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
+** /____/\___/_/ |_/____/_/ | | **
+** |/ **
+\* */
+
+package scala.annotation
+
+/**
+ * An annotation that designates the class to which it is applied as serializable
+ */
+@deprecated("instead of `@serializable class C`, use `class C extends Serializable`")
+class serializable extends StaticAnnotation