org.fusesource.hawtjni.generator.model
Class ReflectMethod
java.lang.Object
org.fusesource.hawtjni.generator.model.ReflectMethod
- All Implemented Interfaces:
- JNIMethod
public class ReflectMethod
- extends Object
- implements JNIMethod
- Author:
- Hiram Chirino
ReflectMethod
public ReflectMethod(ReflectClass declaringClass,
Method method)
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
getWrapedMethod
public Method getWrapedMethod()
getDeclaringClass
public JNIClass getDeclaringClass()
- Specified by:
getDeclaringClass
in interface JNIMethod
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interface JNIMethod
getName
public String getName()
- Specified by:
getName
in interface JNIMethod
getParameters
public List<JNIParameter> getParameters()
- Specified by:
getParameters
in interface JNIMethod
getParameterTypes
public List<JNIType> getParameterTypes()
- Specified by:
getParameterTypes
in interface JNIMethod
getParameterTypes64
public 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(MethodFlag flag)
- Specified by:
getFlag
in interface JNIMethod
getCast
public String getCast()
- Specified by:
getCast
in interface JNIMethod
isPointer
public boolean isPointer()
- Specified by:
isPointer
in interface JNIMethod
getCopy
public String getCopy()
- Specified by:
getCopy
in interface JNIMethod
getAccessor
public String getAccessor()
- Specified by:
getAccessor
in interface JNIMethod
getConditional
public String getConditional()
- Specified by:
getConditional
in interface JNIMethod
isNativeUnique
public boolean isNativeUnique()
- Specified by:
isNativeUnique
in interface JNIMethod
getCallbackTypes
public String[] getCallbackTypes()
- Specified by:
getCallbackTypes
in interface JNIMethod
getCallbackFlags
public ArgFlag[][] getCallbackFlags()
- Specified by:
getCallbackFlags
in interface JNIMethod
emptyFilter
public static String emptyFilter(String value)
Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.