public class FastLongMethodGenerator 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 |
|---|
FastLongMethodGenerator() |
| 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 |
getMaximumFastLongParameters() |
(package private) static boolean |
isFastLongParameter(com.kenai.jffi.Platform platform,
ParameterType type) |
(package private) static boolean |
isFastLongResult(com.kenai.jffi.Platform platform,
ResultType resultType) |
private static boolean |
isFastLongType(com.kenai.jffi.Platform platform,
SigType type) |
boolean |
isSupported(ResultType resultType,
ParameterType[] parameterTypes,
CallingConvention callingConvention) |
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
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 AbstractFastNumericMethodGeneratorpublic boolean isSupported(ResultType resultType, ParameterType[] parameterTypes, CallingConvention callingConvention)
static int getMaximumFastLongParameters()
private static boolean isFastLongType(com.kenai.jffi.Platform platform,
SigType type)
static boolean isFastLongResult(com.kenai.jffi.Platform platform,
ResultType resultType)
static boolean isFastLongParameter(com.kenai.jffi.Platform platform,
ParameterType type)