@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CEnumLookup
CEnum
. The method must be declared static,
native, and must have exactly one parameter (the C value that is to be looked up). The method can
have any name.
The Java enumeration can have multiple values with the same C value. However, in that case one
Java value must be selected manually using the attribute CEnumConstant.includeInLookup()
.
All but one Java values must have this attribute set to false
.