| Modifier and Type | Field and Description |
|---|---|
| public static final int | DIRECT
When allocating memory for the parameter, allocate a persistent memory block |
| public static final int | IN
Contents of the parameter memory will be copied from from java to native memory |
| public static final int | NULTERMINATE
The contents of the java array should have a zero byte appended |
| public static final int | OUT
Contents of the parameter memory will be copied from native memory back to java |
| public static final int | PINNED
The java array memory should be pinned by the JVM during the function call |
| public static final int | TRANSIENT
When allocating memory for the parameter, a temporary memory block can be used |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | Returns: true if the annotation is a parameter flagthe annotation to check. annotation)Checks if the annotation is a recognised parameter flag. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | |
| public static int |
| DIRECT | back to summary |
|---|---|
| public static final int DIRECT When allocating memory for the parameter, allocate a persistent memory block | |
| IN | back to summary |
|---|---|
| public static final int IN Contents of the parameter memory will be copied from from java to native memory | |
| NULTERMINATE | back to summary |
|---|---|
| public static final int NULTERMINATE The contents of the java array should have a zero byte appended | |
| OUT | back to summary |
|---|---|
| public static final int OUT Contents of the parameter memory will be copied from native memory back to java | |
| PINNED | back to summary |
|---|---|
| public static final int PINNED The java array memory should be pinned by the JVM during the function call | |
| TRANSIENT | back to summary |
|---|---|
| public static final int TRANSIENT When allocating memory for the parameter, a temporary memory block can be used | |
| ParameterFlags | back to summary |
|---|---|
| private ParameterFlags() | |
| isDirect | back to summary |
|---|---|
| public static boolean isDirect(int flags) | |
| isFlag | back to summary |
|---|---|
| public static boolean isFlag(Annotation annotation) Checks if the annotation is a recognised parameter flag.
| |
| isIn | back to summary |
|---|---|
| public static boolean isIn(int flags) | |
| isNulTerminate | back to summary |
|---|---|
| public static boolean isNulTerminate(int flags) | |
| isOut | back to summary |
|---|---|
| public static boolean isOut(int flags) | |
| isPinned | back to summary |
|---|---|
| public static boolean isPinned(int flags) | |
| isTransient | back to summary |
|---|---|
| public static boolean isTransient(int flags) | |
| parse | back to summary |
|---|---|
| public static int parse(Annotation annotation) | |
| parse | back to summary |
|---|---|
| public static int parse(Annotation[] annotations) | |
| parse | back to summary |
|---|---|
| public static int parse(Collection<Annotation> annotations) | |