org.fusesource.hawtjni.generator.model
Class ReflectMethod

java.lang.Object
  extended by org.fusesource.hawtjni.generator.model.ReflectMethod
All Implemented Interfaces:
JNIMethod

public class ReflectMethod
extends java.lang.Object
implements JNIMethod

Author:
Hiram Chirino

Constructor Summary
ReflectMethod(ReflectClass declaringClass, java.lang.reflect.Method method)
           
 
Method Summary
static java.lang.String emptyFilter(java.lang.String value)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAccessor()
           
 org.fusesource.hawtjni.runtime.ArgFlag[][] getCallbackFlags()
           
 java.lang.String[] getCallbackTypes()
           
 java.lang.String getCast()
           
 java.lang.String getConditional()
           
 java.lang.String getCopy()
           
 JNIClass getDeclaringClass()
           
 boolean getFlag(org.fusesource.hawtjni.runtime.MethodFlag flag)
           
 int getModifiers()
           
 java.lang.String getName()
           
 java.util.List<JNIParameter> getParameters()
           
 java.util.List<JNIType> getParameterTypes()
           
 java.util.List<JNIType> getParameterTypes64()
           
 JNIType getReturnType32()
           
 JNIType getReturnType64()
           
 java.lang.reflect.Method getWrapedMethod()
           
 int hashCode()
           
 boolean isNativeUnique()
           
 boolean isPointer()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectMethod

public ReflectMethod(ReflectClass declaringClass,
                     java.lang.reflect.Method method)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getWrapedMethod

public java.lang.reflect.Method getWrapedMethod()

getDeclaringClass

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

getModifiers

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

getName

public java.lang.String getName()
Specified by:
getName in interface JNIMethod

getParameters

public java.util.List<JNIParameter> getParameters()
Specified by:
getParameters in interface JNIMethod

getParameterTypes

public java.util.List<JNIType> getParameterTypes()
Specified by:
getParameterTypes in interface JNIMethod

getParameterTypes64

public java.util.List<JNIType> getParameterTypes64()
Specified by:
getParameterTypes64 in interface JNIMethod

getReturnType32

public JNIType getReturnType32()
Specified by:
getReturnType32 in interface JNIMethod

getReturnType64

public JNIType getReturnType64()
Specified by:
getReturnType64 in interface JNIMethod

getFlag

public boolean getFlag(org.fusesource.hawtjni.runtime.MethodFlag flag)
Specified by:
getFlag in interface JNIMethod

getCast

public java.lang.String getCast()
Specified by:
getCast in interface JNIMethod

isPointer

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

getCopy

public java.lang.String getCopy()
Specified by:
getCopy in interface JNIMethod

getAccessor

public java.lang.String getAccessor()
Specified by:
getAccessor in interface JNIMethod

getConditional

public java.lang.String getConditional()
Specified by:
getConditional in interface JNIMethod

isNativeUnique

public boolean isNativeUnique()
Specified by:
isNativeUnique in interface JNIMethod

getCallbackTypes

public java.lang.String[] getCallbackTypes()
Specified by:
getCallbackTypes in interface JNIMethod

getCallbackFlags

public org.fusesource.hawtjni.runtime.ArgFlag[][] getCallbackFlags()
Specified by:
getCallbackFlags in interface JNIMethod

emptyFilter

public static java.lang.String emptyFilter(java.lang.String value)