Annotation Interface CMacroInfo


@Retention(SOURCE) @Target(METHOD) public @interface CMacroInfo
Informational only. Used to annotate a method that implements features implemented by a macro in C. There is no automatic way to translate a C macro to equivalent Java code. Therefore, the body of the annotated method must be written manually, and updated manually when the C macro changes.
Since:
19.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the name of the C macro the annotated method corresponds to.
  • Element Details

    • value

      String value
      Specifies the name of the C macro the annotated method corresponds to.
      Since:
      19.0
      Default:
      ""