com.kenai.jaffl
Class ParameterFlags

java.lang.Object
  extended by com.kenai.jaffl.ParameterFlags

public final class ParameterFlags
extends java.lang.Object


Field Summary
static int DIRECT
           
static int IN
           
static int NULTERMINATE
           
static int OUT
           
static int PINNED
           
static int TRANSIENT
           
 
Method Summary
static boolean isDirect(int flags)
           
static boolean isFlag(java.lang.annotation.Annotation annotation)
          Checks if the annotation is a recognised parameter flag.
static boolean isIn(int flags)
           
static boolean isNulTerminate(int flags)
           
static boolean isOut(int flags)
           
static boolean isPinned(int flags)
           
static boolean isTransient(int flags)
           
static int parse(java.lang.annotation.Annotation[] annotations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUT

public static final int OUT
See Also:
Constant Field Values

IN

public static final int IN
See Also:
Constant Field Values

PINNED

public static final int PINNED
See Also:
Constant Field Values

NULTERMINATE

public static final int NULTERMINATE
See Also:
Constant Field Values

TRANSIENT

public static final int TRANSIENT
See Also:
Constant Field Values

DIRECT

public static final int DIRECT
See Also:
Constant Field Values
Method Detail

parse

public static final int parse(java.lang.annotation.Annotation[] annotations)

isFlag

public static final boolean isFlag(java.lang.annotation.Annotation annotation)
Checks if the annotation is a recognised parameter flag.

Parameters:
annotation - the annotation to check.
Returns:
true if the annotation is a parameter flag

isPinned

public static final boolean isPinned(int flags)

isTransient

public static final boolean isTransient(int flags)

isDirect

public static final boolean isDirect(int flags)

isNulTerminate

public static final boolean isNulTerminate(int flags)

isOut

public static final boolean isOut(int flags)

isIn

public static final boolean isIn(int flags)