Interface NativeCallMethod

All Known Implementing Classes:
AttrReaderMethod, AttrWriterMethod, ConcreteJavaProxy.NewMethodReified, ConcreteJavaProxy.StaticJCreateMethod, ConstructorInvoker, FieldMethodOne, FieldMethodZero, InstanceFieldGetter, InstanceFieldSetter, InstanceMethodInvoker, Java.JCreateMethod, JavaMethod, JavaMethod.JavaMethodN, JavaMethod.JavaMethodNBlock, JavaMethod.JavaMethodOne, JavaMethod.JavaMethodOneBlock, JavaMethod.JavaMethodOneOrN, JavaMethod.JavaMethodOneOrNBlock, JavaMethod.JavaMethodOneOrTwo, JavaMethod.JavaMethodOneOrTwoBlock, JavaMethod.JavaMethodOneOrTwoOrN, JavaMethod.JavaMethodOneOrTwoOrNBlock, JavaMethod.JavaMethodOneOrTwoOrThree, JavaMethod.JavaMethodOneOrTwoOrThreeBlock, JavaMethod.JavaMethodOneOrTwoOrThreeOrN, JavaMethod.JavaMethodOneOrTwoOrThreeOrNBlock, JavaMethod.JavaMethodThree, JavaMethod.JavaMethodThreeBlock, JavaMethod.JavaMethodThreeOrN, JavaMethod.JavaMethodThreeOrNBlock, JavaMethod.JavaMethodTwo, JavaMethod.JavaMethodTwoBlock, JavaMethod.JavaMethodTwoOrN, JavaMethod.JavaMethodTwoOrNBlock, JavaMethod.JavaMethodTwoOrThree, JavaMethod.JavaMethodTwoOrThreeBlock, JavaMethod.JavaMethodTwoOrThreeOrN, JavaMethod.JavaMethodTwoOrThreeOrNBlock, JavaMethod.JavaMethodZero, JavaMethod.JavaMethodZeroBlock, JavaMethod.JavaMethodZeroOrN, JavaMethod.JavaMethodZeroOrNBlock, JavaMethod.JavaMethodZeroOrOne, JavaMethod.JavaMethodZeroOrOneBlock, JavaMethod.JavaMethodZeroOrOneOrN, JavaMethod.JavaMethodZeroOrOneOrNBlock, JavaMethod.JavaMethodZeroOrOneOrTwo, JavaMethod.JavaMethodZeroOrOneOrTwoBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrN, JavaMethod.JavaMethodZeroOrOneOrTwoOrNBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrThree, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeOrN, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeOrNBlock, MethodInvoker, RubyKernel.MethodMissingMethod, RubyModule.RespondToMissingMethod, RubyToJavaInvoker, SingletonMethodInvoker, StaticFieldGetter, StaticFieldSetter, StaticMethodInvoker

public interface NativeCallMethod
Created by headius on 8/1/15.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the NativeCall for the method, if available.
    void
    setNativeCall(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik)
    Set the single-arity NativeCall for this method.
    void
    setNativeCall(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik, boolean java)
    Set the single-arity NativeCall for this method.
  • Method Details

    • setNativeCall

      void setNativeCall(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik, boolean java)
      Set the single-arity NativeCall for this method. All signatures for the non-single-arity getNativeCall will also be set to this value.
      Parameters:
      nativeTarget - native method target
      nativeName - native method name
      nativeReturn - native method return
      nativeSignature - native method arguments
      statik - static?
      java - plain Java method?
    • setNativeCall

      void setNativeCall(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik)
      Set the single-arity NativeCall for this method. All signatures for the non-single-arity getNativeCall will also be set to this value.
      Parameters:
      nativeTarget - native method target
      nativeName - native method name
      nativeReturn - native method return
      nativeSignature - native method arguments
      statik - static?
    • getNativeCall

      DynamicMethod.NativeCall getNativeCall()
      Get the NativeCall for the method, if available.
      Returns:
      a NativeCall if the method has a native representation.