Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/src/main/scala/org/apache/spark/annotation/Since.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
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.
* Different from the `@since` tag in JavaDoc, this annotation does not require explicit JavaDoc and
* 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