|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface Field
Indicate the index of a structure field (in Java, the order of methods and fields is unspecified so you need to order them explicitely).
For C++ structs, the index is absolute : it must take into account the fields in parent classes (unlike Virtual
, which virtual table offset is relative to the declared class).
Required Element Summary | |
---|---|
int |
value
Index of the field in a struct (first field has index 0). |
Optional Element Summary | |
---|---|
int |
unionWith
Declare that this field shares its space with another (the two or more fields are in an union). |
Element Detail |
---|
public abstract int value
public abstract int unionWith
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |