1 2 3 4 5 6 7
class A { @native def setup(): Unit // also kosher @native private def f(): Unit @native final def g(): Unit }