org.fusesource.hawtjni.generator.model
Class ReflectField

java.lang.Object
  extended by org.fusesource.hawtjni.generator.model.ReflectField
All Implemented Interfaces:
JNIField

public class ReflectField
extends Object
implements JNIField

Author:
Hiram Chirino

Constructor Summary
ReflectField(ReflectClass parent, Field field)
           
 
Method Summary
static String emptyFilter(String value)
           
 boolean equals(Object obj)
           
 String getAccessor()
           
 String getCast()
           
 String getConditional()
           
 JNIClass getDeclaringClass()
           
 boolean getFlag(FieldFlag flag)
           
 int getModifiers()
           
 String getName()
           
 JNIType getType()
           
 JNIType getType64()
           
 int hashCode()
           
 boolean ignore()
           
 boolean isPointer()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectField

public ReflectField(ReflectClass parent,
                    Field field)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getDeclaringClass

public JNIClass getDeclaringClass()
Specified by:
getDeclaringClass in interface JNIField

getModifiers

public int getModifiers()
Specified by:
getModifiers in interface JNIField

getName

public String getName()
Specified by:
getName in interface JNIField

getType

public JNIType getType()
Specified by:
getType in interface JNIField

getType64

public JNIType getType64()
Specified by:
getType64 in interface JNIField

getAccessor

public String getAccessor()
Specified by:
getAccessor in interface JNIField

getCast

public String getCast()
Specified by:
getCast in interface JNIField

ignore

public boolean ignore()
Specified by:
ignore in interface JNIField

isPointer

public boolean isPointer()
Specified by:
isPointer in interface JNIField

getConditional

public String getConditional()
Specified by:
getConditional in interface JNIField

getFlag

public boolean getFlag(FieldFlag flag)
Specified by:
getFlag in interface JNIField

emptyFilter

public static String emptyFilter(String value)


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