Package jnr.ffi.provider.jffi
Class DefaultInvokerFactory.VariadicInvoker
- java.lang.Object
-
- jnr.ffi.provider.jffi.DefaultInvokerFactory.VariadicInvoker
-
- All Implemented Interfaces:
Invoker
- Enclosing class:
- DefaultInvokerFactory
static class DefaultInvokerFactory.VariadicInvoker extends java.lang.Object implements Invoker
-
-
Field Summary
Fields Modifier and Type Field Description private CallingConventioncallingConventionprivate ParameterType[]fixedParameterTypesprivate longfunctionAddressprivate DefaultInvokerFactory.FunctionInvokerfunctionInvokerprivate booleanrequiresErrnoprivate SigTyperesultTypeprivate Runtimeruntimeprivate SignatureTypeMappertypeMapper
-
Constructor Summary
Constructors Constructor Description VariadicInvoker(Runtime runtime, DefaultInvokerFactory.FunctionInvoker functionInvoker, SignatureTypeMapper typeMapper, ParameterType[] fixedParameterTypes, long functionAddress, SigType resultType, boolean requiresErrno, CallingConvention callingConvention)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.Collection<java.lang.annotation.Annotation>getAnnotations(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> klasses)java.lang.Objectinvoke(java.lang.Object self, java.lang.Object[] parameters)
-
-
-
Field Detail
-
runtime
private final Runtime runtime
-
functionInvoker
private final DefaultInvokerFactory.FunctionInvoker functionInvoker
-
typeMapper
private final SignatureTypeMapper typeMapper
-
fixedParameterTypes
private final ParameterType[] fixedParameterTypes
-
functionAddress
private final long functionAddress
-
resultType
private final SigType resultType
-
requiresErrno
private final boolean requiresErrno
-
callingConvention
private final CallingConvention callingConvention
-
-
Constructor Detail
-
VariadicInvoker
VariadicInvoker(Runtime runtime, DefaultInvokerFactory.FunctionInvoker functionInvoker, SignatureTypeMapper typeMapper, ParameterType[] fixedParameterTypes, long functionAddress, SigType resultType, boolean requiresErrno, CallingConvention callingConvention)
-
-
Method Detail
-
invoke
public final java.lang.Object invoke(java.lang.Object self, java.lang.Object[] parameters)
-
getAnnotations
private static java.util.Collection<java.lang.annotation.Annotation> getAnnotations(java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> klasses)
-
-