org.fusesource.hawtjni.runtime
Enum FieldFlag

java.lang.Object
  extended by java.lang.Enum<FieldFlag>
      extended by org.fusesource.hawtjni.runtime.FieldFlag
All Implemented Interfaces:
Serializable, Comparable<FieldFlag>

public enum FieldFlag
extends Enum<FieldFlag>

Author:
Hiram Chirino

Enum Constant Summary
CONSTANT
          Indicate that the field represents a constant or global variable.
FIELD_SKIP
          Indicate that the item should not be generated.
POINTER_FIELD
          Indicate that the field is a pointer.
 
Method Summary
static FieldFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FieldFlag[] 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

FIELD_SKIP

public static final FieldFlag FIELD_SKIP
Indicate that the item should not be generated. For example, custom natives are coded by hand.


CONSTANT

public static final FieldFlag CONSTANT
Indicate that the field represents a constant or global variable. It is expected that the java field will be declared static.


POINTER_FIELD

public static final FieldFlag POINTER_FIELD
Indicate that the field is a pointer.

Method Detail

values

public static FieldFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FieldFlag c : FieldFlag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FieldFlag valueOf(String name)
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 name
NullPointerException - if the argument is null


Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.