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 boolean
allowConversion
private JniArg
annotation
private java.util.HashSet<ArgFlag>
flags
private ReflectMethod
method
private int
parameter
private ReflectType
type
-
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.String
getCast()
boolean
getFlag(ArgFlag flag)
JNIMethod
getMethod()
int
getParameter()
JNIType
getType32()
JNIType
getType64()
JNIClass
getTypeClass()
boolean
isPointer()
-
-
-
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:
getCast
in interfaceJNIParameter
-
isPointer
public boolean isPointer()
- Specified by:
isPointer
in interfaceJNIParameter
-
getMethod
public JNIMethod getMethod()
- Specified by:
getMethod
in interfaceJNIParameter
-
getFlag
public boolean getFlag(ArgFlag flag)
- Specified by:
getFlag
in interfaceJNIParameter
-
getType32
public JNIType getType32()
- Specified by:
getType32
in interfaceJNIParameter
-
getType64
public JNIType getType64()
- Specified by:
getType64
in interfaceJNIParameter
-
getTypeClass
public JNIClass getTypeClass()
- Specified by:
getTypeClass
in interfaceJNIParameter
-
getParameter
public int getParameter()
- Specified by:
getParameter
in interfaceJNIParameter
-
-