diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-08-20 20:01:13 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-08-20 20:01:13 -0700 |
commit | cdd9a2bb10e20556003843a0f7aaa33acd55f6d2 (patch) | |
tree | 1923e350a9043de6eefd674fadcb3e0bea5d6c0e /core/src | |
parent | afe9f03fd964d1e8604d02feee8d6970efbe6009 (diff) | |
download | spark-cdd9a2bb10e20556003843a0f7aaa33acd55f6d2.tar.gz spark-cdd9a2bb10e20556003843a0f7aaa33acd55f6d2.tar.bz2 spark-cdd9a2bb10e20556003843a0f7aaa33acd55f6d2.zip |
[SPARK-10140] [DOC] add target fields to @Since
so constructors parameters and public fields can be annotated. rxin MechCoder
Author: Xiangrui Meng <meng@databricks.com>
Closes #8344 from mengxr/SPARK-10140.2.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/annotation/Since.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/main/scala/org/apache/spark/annotation/Since.scala b/core/src/main/scala/org/apache/spark/annotation/Since.scala index fa59393c22..af483e361e 100644 --- a/core/src/main/scala/org/apache/spark/annotation/Since.scala +++ b/core/src/main/scala/org/apache/spark/annotation/Since.scala @@ -18,6 +18,7 @@ package org.apache.spark.annotation import scala.annotation.StaticAnnotation +import scala.annotation.meta._ /** * A Scala annotation that specifies the Spark version when a definition was added. @@ -25,4 +26,5 @@ import scala.annotation.StaticAnnotation * hence works for overridden methods that inherit API documentation directly from parents. * The limitation is that it does not show up in the generated Java API documentation. */ +@param @field @getter @setter @beanGetter @beanSetter private[spark] class Since(version: String) extends StaticAnnotation |