jnr.ffi.provider.jffi
Class AnnotationTypeMapper.ReflectionToNativeConverter

java.lang.Object
  extended by jnr.ffi.provider.jffi.AnnotationTypeMapper.AbstractReflectionConverter
      extended by jnr.ffi.provider.jffi.AnnotationTypeMapper.ReflectionToNativeConverter
All Implemented Interfaces:
ToNativeConverter<Object,Object>
Enclosing class:
AnnotationTypeMapper

public final class AnnotationTypeMapper.ReflectionToNativeConverter
extends AnnotationTypeMapper.AbstractReflectionConverter
implements ToNativeConverter<Object,Object>


Nested Class Summary
 
Nested classes/interfaces inherited from interface jnr.ffi.mapper.ToNativeConverter
ToNativeConverter.Cacheable, ToNativeConverter.NoContext, ToNativeConverter.PostInvocation<J,N>, ToNativeConverter.ToNative
 
Field Summary
 
Fields inherited from class jnr.ffi.provider.jffi.AnnotationTypeMapper.AbstractReflectionConverter
method, nativeType
 
Constructor Summary
AnnotationTypeMapper.ReflectionToNativeConverter(Method method, Class nativeType)
           
 
Method Summary
 Object toNative(Object nativeValue, ToNativeContext context)
           
 
Methods inherited from class jnr.ffi.provider.jffi.AnnotationTypeMapper.AbstractReflectionConverter
invoke, nativeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jnr.ffi.mapper.ToNativeConverter
nativeType
 

Constructor Detail

AnnotationTypeMapper.ReflectionToNativeConverter

public AnnotationTypeMapper.ReflectionToNativeConverter(Method method,
                                                        Class nativeType)
Method Detail

toNative

public Object toNative(Object nativeValue,
                       ToNativeContext context)
Specified by:
toNative in interface ToNativeConverter<Object,Object>


Copyright © 2014. All rights reserved.