Annotation Type GlobalValue


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

    Optional Elements
    Modifier and Type Optional Element Description
    boolean dereference
    Set to false to specify that the address of the symbol should be used as is and not be dereferenced.
    boolean optional
    Set to true to make this GlobalValue optional.
    String symbol  
  • Element Details

    • symbol

      String symbol
      Default:
      ""
    • optional

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

      boolean dereference
      Set to false to specify that the address of the symbol should be used as is and not be dereferenced. This is useful for structs compiled into the library. The default is true. Can only be used on getter methods.
      Default:
      true