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.

Inherits

  1. StaticAnnotation
  2. Annotation
  3. AnyRef
  4. Any

Value Members

  1. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  2. def hashCode(): Int

    Returns a hash code value for the object

  3. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new native()