class FastNumericMethodGenerator extends AbstractFastNumericMethodGenerator
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
ENABLED |
private static int |
MAX_PARAMETERS |
private static java.lang.String[] |
methodNames |
private static java.lang.String[] |
signatures |
STRATEGY_ADDRESS_METHODS, STRATEGY_PARAMETER_TYPES| Constructor and Description |
|---|
FastNumericMethodGenerator() |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.String |
getInvokerMethodName(ResultType resultType,
ParameterType[] parameterTypes,
boolean ignoreErrno) |
(package private) java.lang.String |
getInvokerSignature(int parameterCount,
java.lang.Class nativeIntType) |
(package private) java.lang.Class |
getInvokerType() |
(package private) static int |
getMaximumParameters() |
(package private) static boolean |
isFastNumericParameter(com.kenai.jffi.Platform platform,
ParameterType parameterType) |
(package private) static boolean |
isFastNumericResult(com.kenai.jffi.Platform platform,
ResultType type) |
private static boolean |
isNumericType(com.kenai.jffi.Platform platform,
SigType type) |
boolean |
isSupported(ResultType resultType,
ParameterType[] parameterTypes,
CallingConvention callingConvention) |
private static boolean |
isSupportedPointerParameterType(java.lang.Class javaParameterType) |
emitDirectCheck, emitParameterStrategyAddress, emitParameterStrategyLookup, generate, getObjectParameterMethodName, getObjectParameterMethodSignature, hasPointerParameterStrategyemitEpilogue, emitPostInvoke, generate, isPostInvokeRequired, loadAndConvertParameterprivate static final boolean ENABLED
private static final int MAX_PARAMETERS
private static final java.lang.String[] signatures
private static final java.lang.String[] methodNames
public boolean isSupported(ResultType resultType, ParameterType[] parameterTypes, CallingConvention callingConvention)
java.lang.String getInvokerMethodName(ResultType resultType, ParameterType[] parameterTypes, boolean ignoreErrno)
getInvokerMethodName in class AbstractFastNumericMethodGeneratorjava.lang.String getInvokerSignature(int parameterCount,
java.lang.Class nativeIntType)
getInvokerSignature in class AbstractFastNumericMethodGeneratorjava.lang.Class getInvokerType()
getInvokerType in class AbstractFastNumericMethodGeneratorprivate static boolean isNumericType(com.kenai.jffi.Platform platform,
SigType type)
static boolean isFastNumericResult(com.kenai.jffi.Platform platform,
ResultType type)
static boolean isFastNumericParameter(com.kenai.jffi.Platform platform,
ParameterType parameterType)
private static boolean isSupportedPointerParameterType(java.lang.Class javaParameterType)
static int getMaximumParameters()