Package jnr.ffi.provider.jffi
Class ReflectionVariableAccessorGenerator
- java.lang.Object
-
- jnr.ffi.provider.jffi.ReflectionVariableAccessorGenerator
-
class ReflectionVariableAccessorGenerator extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ReflectionVariableAccessorGenerator.AbstractVariable<T>
private static class
ReflectionVariableAccessorGenerator.ConvertingVariable
private static class
ReflectionVariableAccessorGenerator.DoublePointerOp
private static class
ReflectionVariableAccessorGenerator.FloatPointerOp
private static class
ReflectionVariableAccessorGenerator.Int16PointerOp
private static class
ReflectionVariableAccessorGenerator.Int32PointerOp
private static class
ReflectionVariableAccessorGenerator.Int64PointerOp
private static class
ReflectionVariableAccessorGenerator.Int8PointerOp
private static class
ReflectionVariableAccessorGenerator.NumberVariable
private static interface
ReflectionVariableAccessorGenerator.PointerOp<T>
private static class
ReflectionVariableAccessorGenerator.PointerVariable
-
Constructor Summary
Constructors Constructor Description ReflectionVariableAccessorGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static Variable
createVariableAccessor(Runtime runtime, java.lang.reflect.Method method, long symbolAddress, SignatureTypeMapper typeMapper, java.util.Collection<java.lang.annotation.Annotation> annotations)
(package private) static Variable
getConvertingVariable(Variable nativeVariable, ToNativeConverter toNativeConverter, FromNativeConverter fromNativeConverter)
(package private) static Variable
getNativeVariableAccessor(Pointer memory, ToNativeType toNativeType, FromNativeType fromNativeType)
private static ReflectionVariableAccessorGenerator.PointerOp<java.lang.Number>
getPointerOp(NativeType nativeType)
-
-
-
Method Detail
-
createVariableAccessor
static Variable createVariableAccessor(Runtime runtime, java.lang.reflect.Method method, long symbolAddress, SignatureTypeMapper typeMapper, java.util.Collection<java.lang.annotation.Annotation> annotations)
-
getConvertingVariable
static Variable getConvertingVariable(Variable nativeVariable, ToNativeConverter toNativeConverter, FromNativeConverter fromNativeConverter)
-
getNativeVariableAccessor
static Variable getNativeVariableAccessor(Pointer memory, ToNativeType toNativeType, FromNativeType fromNativeType)
-
getPointerOp
private static ReflectionVariableAccessorGenerator.PointerOp<java.lang.Number> getPointerOp(NativeType nativeType)
-
-