Annotation Type Bridge


@Retention(RUNTIME)
@Target(METHOD)
public @interface Bridge
Version:
$Id$
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    boolean dynamic
    Specifies that this Bridge method is bound dynamically for each invocation.
    boolean optional
    Set to true to make this Bridge method optional.
    String symbol  
  • Element Details

    • symbol

      String symbol
      Default:
      ""
    • dynamic

      boolean dynamic
      Specifies that this Bridge method is bound dynamically for each invocation. The function pointer must be passed in as the first parameter to the Bridge annotated method as a Pointer long.
      Default:
      false
    • optional

      boolean optional
      Set to true to make this Bridge method optional. If true the binding process (Bro.bind()) will not fail even if the symbol of this Bridge method isn't available. Instead a call to the method will throw UnsatisfiedLinkError.
      Default:
      false