@Target(value={CONSTRUCTOR,METHOD})
@Retention(value=RUNTIME)
public @interface Native
This annotation can be added on constructors only and it's the equivalent of using "native" keyword on methods, i.e.
its code is not generated. This is because the "native" keyword cannot be used on constructor. It's useful when the
code already exists in JavaScript or when you want to overload the constructor.
- Author:
- acraciun