|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MethodFlag>
org.fusesource.hawtjni.runtime.MethodFlag
public enum MethodFlag
Enum Constant Summary | |
---|---|
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
Indicate that the native method represents a structure global variable and the address of it should be returned to Java. |
|
CAST
Indicate that the C function should be casted to a prototype generated from the parameters of the native method. |
|
CONSTANT_GETTER
Indicate that the native method represents a constant or global variable instead of a function. |
|
CONSTANT_INITIALIZER
Indicate that this method will be the constant initializer for the class. |
|
CPP
Indicate that the platform source is in C++ |
|
CPP_DELETE
Indicate that the native method is a C++ destructor that deallocates an object from the heap. |
|
CPP_NEW
Indicate that the native method is a C++ constructor that allocates an object on the heap. |
|
CS_NEW
Indicate that the native method is a C# constructor that allocates an object on the managed (i.e. |
|
CS_OBJECT
Indicate that the native method's return value is a C# managed object. |
|
DYNAMIC
Indicate that a native method should be looked up dynamically. |
|
GETTER
Indicate that the native method represents a getter for a field in an object or structure. |
|
JNI
Indicate that the native is part of the Java Native Interface. |
|
METHOD_SKIP
Indicate that the item should not be generated. |
|
POINTER_RETURN
Indicate that the return value is a pointer. |
|
SETTER
Indicate that the native method represents a setter for a field in an object or structure |
Method Summary | |
---|---|
static MethodFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MethodFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MethodFlag METHOD_SKIP
public static final MethodFlag DYNAMIC
public static final MethodFlag CONSTANT_GETTER
public static final MethodFlag CAST
public static final MethodFlag JNI
public static final MethodFlag ADDRESS
public static final MethodFlag CPP
public static final MethodFlag CPP_NEW
public static final MethodFlag CPP_DELETE
public static final MethodFlag CS_NEW
public static final MethodFlag CS_OBJECT
public static final MethodFlag SETTER
public static final MethodFlag GETTER
public static final MethodFlag ADDER
public static final MethodFlag POINTER_RETURN
public static final MethodFlag CONSTANT_INITIALIZER
Method Detail |
---|
public static MethodFlag[] values()
for (MethodFlag c : MethodFlag.values()) System.out.println(c);
public static MethodFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |