@Documented
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface Name
Generator guesses the
native name based on the name of the Java peer. However, it may sometimes be
impossible to use the same name in Java, for example, in the case of overloaded
operators or to specify template arguments, while other times we may need to
access by name, for example, a callback pointer or function object, from C++.
For all those cases, we require this annotation.Generator| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
The second element gets used as a suffix to work around arrays of anonymous struct or union.
|