scala.annotation.meta.languageFeature

final class languageFeature extends Annotation with StaticAnnotation

An annotation giving particulars for a language feature in object scala.language .

Instance Constructors From scala.annotation.meta.languageFeature

new languageFeature(feature: String, enableRequired: Boolean)

(defined at scala.annotation.meta.languageFeature)

Full Source:

/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2002-2013, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */
package scala.annotation.meta

/**
 * An annotation giving particulars for a language feature in object `scala.language`.
 */
final class languageFeature(feature: String, enableRequired: Boolean) extends scala.annotation.StaticAnnotation