Annotation Type WasmTextCode


@Retention(CLASS) @Target(METHOD) public @interface WasmTextCode
Annotation for code that can not be written in Java.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The WASM code in text notation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Override the Java signature to support more as one return parameter.
  • Element Details

    • value

      String value
      The WASM code in text notation.
      Returns:
      the native WASM code
    • signature

      String signature
      Override the Java signature to support more as one return parameter. If you use this then you can't use it anymore in Java code directly. It is recommended to use this only with the modifier native.

      Sample: "(I)II"

      Returns:
      optional Java method signature.
      Default:
      ""