Package org.robovm.rt.bro.annotation
Annotation Type GlobalValue
@Retention(RUNTIME) @Target(METHOD) public @interface GlobalValue
- Version:
- $Id$
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleandereferenceSet tofalseto specify that the address of the symbol should be used as is and not be dereferenced.booleanoptionalSet totrueto make thisGlobalValueoptional.Stringsymbol
-
Element Details
-
symbol
String symbol- Default:
- ""
-
optional
boolean optionalSet totrueto make thisGlobalValueoptional. Iftruethe binding process (Bro.bind()) will not fail even if the symbol of thisGlobalValueisn't available. Instead a call to the method will throwUnsatisfiedLinkError.- Default:
- false
-
dereference
boolean dereferenceSet tofalseto 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 istrue. Can only be used on getter methods.- Default:
- true
-