Class X86MethodGenerator

    • Field Detail

      • ENABLED

        private static final boolean ENABLED
      • nextMethodID

        private final java.util.concurrent.atomic.AtomicLong nextMethodID
    • Constructor Detail

      • X86MethodGenerator

        X86MethodGenerator​(StubCompiler compiler)
    • Method Detail

      • generateWrapper

        private static void generateWrapper​(AsmBuilder builder,
                                            java.lang.String functionName,
                                            com.kenai.jffi.Function function,
                                            ResultType resultType,
                                            ParameterType[] parameterTypes,
                                            java.lang.String nativeMethodName,
                                            java.lang.Class nativeReturnType,
                                            java.lang.Class[] nativeParameterTypes)
      • attach

        void attach​(java.lang.Class clazz)
      • isSupportedObjectParameterType

        private static boolean isSupportedObjectParameterType​(ParameterType type)
      • isSupportedType

        private static boolean isSupportedType​(SigType type)
      • isSupportedResult

        static boolean isSupportedResult​(ResultType resultType)
      • isSupportedParameter

        static boolean isSupportedParameter​(ParameterType parameterType)
      • getNativeClass

        static java.lang.Class getNativeClass​(NativeType nativeType)