scala

native

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. Hide All
  2. Show all
  1. native
  2. StaticAnnotation
  3. Annotation
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new native ()