Package org.fusesource.hawtjni.runtime
Enum FieldFlag
- All Implemented Interfaces:
Serializable
,Comparable<FieldFlag>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicate that the field represents a constant or global variable.Indicate that the item should not be generated.Indicate that the getter method used is not part of the structure.Indicate that the field is a pointer.Indicate that the setter method used is not part of the structure.Indicate that the field is a shared pointer. -
Method Summary
-
Enum Constant Details
-
FIELD_SKIP
Indicate that the item should not be generated. For example, custom natives are coded by hand. -
CONSTANT
Indicate that the field represents a constant or global variable. It is expected that the java field will be declared static. -
POINTER_FIELD
Indicate that the field is a pointer. -
SHARED_PTR
Indicate that the field is a shared pointer. -
GETTER_NONMEMBER
Indicate that the getter method used is not part of the structure. Useful for using wrappers to access certain structure fields. Only useful when the getter is declared explicitly. -
SETTER_NONMEMBER
Indicate that the setter method used is not part of the structure. Useful for using wrappers to access certain structure fields. Only useful when the setter is declared explicitly.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-