diff options
Diffstat (limited to 'src/library/scala/annotation/varargs.scala')
-rw-r--r-- | src/library/scala/annotation/varargs.scala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/library/scala/annotation/varargs.scala b/src/library/scala/annotation/varargs.scala new file mode 100644 index 0000000000..ad6a3f9bd4 --- /dev/null +++ b/src/library/scala/annotation/varargs.scala @@ -0,0 +1,18 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2002-2010, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ +package scala.annotation + +/** <p> + * A method annotation which instructs the compiler to generate a + * Java varargs-style forwarder method for interop. This annotation can + * only be applied to methods with repeated parameters. + * </p> + * + * @since 2.9 + */ +final class varargs extends StaticAnnotation |