Class ReflectParameter
- java.lang.Object
-
- org.fusesource.hawtjni.generator.model.ReflectParameter
-
- All Implemented Interfaces:
JNIParameter
public class ReflectParameter extends java.lang.Object implements JNIParameter
-
-
Field Summary
Fields Modifier and Type Field Description private booleanallowConversionprivate JniArgannotationprivate java.util.HashSet<ArgFlag>flagsprivate ReflectMethodmethodprivate intparameterprivate ReflectTypetype
-
Constructor Summary
Constructors Constructor Description ReflectParameter(ReflectMethod method, int parameter, java.lang.annotation.Annotation[] annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCast()booleangetFlag(ArgFlag flag)JNIMethodgetMethod()intgetParameter()JNITypegetType32()JNITypegetType64()JNIClassgetTypeClass()booleanisPointer()
-
-
-
Field Detail
-
method
private ReflectMethod method
-
type
private ReflectType type
-
parameter
private int parameter
-
annotation
private JniArg annotation
-
allowConversion
private boolean allowConversion
-
flags
private java.util.HashSet<ArgFlag> flags
-
-
Constructor Detail
-
ReflectParameter
public ReflectParameter(ReflectMethod method, int parameter, java.lang.annotation.Annotation[] annotations)
-
-
Method Detail
-
getCast
public java.lang.String getCast()
- Specified by:
getCastin interfaceJNIParameter
-
isPointer
public boolean isPointer()
- Specified by:
isPointerin interfaceJNIParameter
-
getMethod
public JNIMethod getMethod()
- Specified by:
getMethodin interfaceJNIParameter
-
getFlag
public boolean getFlag(ArgFlag flag)
- Specified by:
getFlagin interfaceJNIParameter
-
getType32
public JNIType getType32()
- Specified by:
getType32in interfaceJNIParameter
-
getType64
public JNIType getType64()
- Specified by:
getType64in interfaceJNIParameter
-
getTypeClass
public JNIClass getTypeClass()
- Specified by:
getTypeClassin interfaceJNIParameter
-
getParameter
public int getParameter()
- Specified by:
getParameterin interfaceJNIParameter
-
-