Class

scala

native

Related Doc: package scala

Permalink

class native extends Annotation with StaticAnnotation

Marker for native methods.

@native def f(x: Int, y: List[Long]): String = ...

Method body is not generated if method is marked with @native, but it is type checked when present.

Source
native.scala
Since

2.6

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. native
  2. StaticAnnotation
  3. Annotation
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new native()

    Permalink