Added in API level 26

Native

public abstract @interface Native
implements Annotation

java.lang.annotation.Native


Indicates that a field defining a constant value may be referenced from native code. The annotation may be used as a hint by tools that generate native header files to determine whether a header file is required, and if so, what declarations it should contain.

Summary

Inherited methods