scala

class native

[source: scala/native.scala]

class native
extends 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.

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf