| Modifier and Type | Field and Description |
|---|---|
| public static final MethodFlag | ADDER
Indicate that the native method takes 2 arguments, a collection and an item, and the += operator is used to add the item to the collection. |
| public static final MethodFlag | ADDRESS
Indicate that the native method represents a structure global variable and the address of it should be returned to Java. |
| public static final MethodFlag | CAST
Indicate that the C function should be casted to a prototype generated from the parameters of the native method. |
| public static final MethodFlag | CONSTANT_GETTER
Indicate that the native method represents a constant or global variable instead of a function. |
| public static final MethodFlag | CONSTANT_INITIALIZER
Indicate that this method will be the constant initializer for the class. |
| public static final MethodFlag | CPP_DELETE
Indicate that the native method is a C++ destructor that deallocates an object from the heap. |
| public static final MethodFlag | CPP_METHOD
Indicate that the native method is calling a C++ object's method. |
| public static final MethodFlag | CPP_NEW
Indicate that the native method is a C++ constructor that allocates an object on the heap. |
| public static final MethodFlag | CS_NEW
Indicate that the native method is a C# constructor that allocates an object on the managed (i.e. garbage collected) heap. |
| public static final MethodFlag | CS_OBJECT
Indicate that the native method's return value is a C# managed object. |
| public static final MethodFlag | DYNAMIC
Indicate that a native method should be looked up dynamically. |
| public static final MethodFlag | GETTER
Indicate that the native method represents a getter for a field in an object or structure. |
| public static final MethodFlag | JNI
Indicate that the native is part of the Java Native Interface. |
| public static final MethodFlag | METHOD_SKIP
Indicate that the item should not be generated. |
| public static final MethodFlag | POINTER_RETURN
Indicate that the return value is a pointer. |
| public static final MethodFlag | SETTER
Indicate that the native method represents a setter for a field in an object or structure |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MethodFlag | |
| public static MethodFlag[] |
| ADDER | back to summary |
|---|---|
| public static final MethodFlag ADDER Indicate that the native method takes 2 arguments, a collection and an item, and the += operator is used to add the item to the collection. | |
| ADDRESS | back to summary |
|---|---|
| public static final MethodFlag ADDRESS Indicate that the native method represents a structure global variable and the address of it should be returned to Java. This is done by prepending &. | |
| CAST | back to summary |
|---|---|
| public static final MethodFlag CAST Indicate that the C function should be casted to a prototype generated from the parameters of the native method. Useful for variable argument C functions. | |
| CONSTANT_GETTER | back to summary |
|---|---|
| public static final MethodFlag CONSTANT_GETTER Indicate that the native method represents a constant or global variable instead of a function. This omits () from the generated code. | |
| CONSTANT_INITIALIZER | back to summary |
|---|---|
| public static final MethodFlag CONSTANT_INITIALIZER Indicate that this method will be the constant initializer for the class. When called, it will set all the static constant fields to the values defined in your platform. | |
| CPP_DELETE | back to summary |
|---|---|
| public static final MethodFlag CPP_DELETE Indicate that the native method is a C++ destructor that deallocates an object from the heap. | |
| CPP_METHOD | back to summary |
|---|---|
| public static final MethodFlag CPP_METHOD Indicate that the native method is calling a C++ object's method. | |
| CPP_NEW | back to summary |
|---|---|
| public static final MethodFlag CPP_NEW Indicate that the native method is a C++ constructor that allocates an object on the heap. | |
| CS_NEW | back to summary |
|---|---|
| public static final MethodFlag CS_NEW Indicate that the native method is a C# constructor that allocates an object on the managed (i.e. garbage collected) heap. | |
| CS_OBJECT | back to summary |
|---|---|
| public static final MethodFlag CS_OBJECT Indicate that the native method's return value is a C# managed object. | |
| DYNAMIC | back to summary |
|---|---|
| public static final MethodFlag DYNAMIC Indicate that a native method should be looked up dynamically. It is useful when having a dependence on a given library is not desirable. The library name is specified in the *_custom.h file. | |
| GETTER | back to summary |
|---|---|
| public static final MethodFlag GETTER Indicate that the native method represents a getter for a field in an object or structure. | |
| JNI | back to summary |
|---|---|
| public static final MethodFlag JNI Indicate that the native is part of the Java Native Interface. For example: NewGlobalRef(). | |
| METHOD_SKIP | back to summary |
|---|---|
| public static final MethodFlag METHOD_SKIP Indicate that the item should not be generated. For example, custom natives are coded by hand. | |
| POINTER_RETURN | back to summary |
|---|---|
| public static final MethodFlag POINTER_RETURN Indicate that the return value is a pointer. | |
| SETTER | back to summary |
|---|---|
| public static final MethodFlag SETTER Indicate that the native method represents a setter for a field in an object or structure | |
| MethodFlag | back to summary |
|---|---|
| private MethodFlag() | |
| valueOf | back to summary |
|---|---|
| public static MethodFlag valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MethodFlag[] values() | |