Native (Java SE 14 & JDK 14)
Description: declaration: module: java.base, package: java.lang.annotation, annotation type: Native
Keywords: java.lang.annotation.Native class

Module java.base
Package java.lang.annotation

# Annotation Type Native

    @Documented
    @Target(FIELD)
    @Retention(SOURCE)
    public @interface 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.

Since:
  1.8