Class DynamicMethod.NativeCall
java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod.NativeCall
- Enclosing class:
DynamicMethod
-
Constructor Summary
ConstructorsConstructorDescriptionNativeCall
(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik) NativeCall
(Class nativeTarget, String nativeName, Class nativeReturn, Class[] nativeSignature, boolean statik, boolean java) -
Method Summary
Modifier and TypeMethodDescriptiongetHandleQuiet
(MethodHandles.Lookup lookup) Get the java.lang.reflect.Method for this NativeCall quietly.Get the java.lang.reflect.Method for this NativeCallGet the java.lang.reflect.Method for this NativeCall quietly.Class[]
boolean
hasBlock()
boolean
boolean
isJava()
boolean
isStatic()
toString()
-
Constructor Details
-
NativeCall
-
NativeCall
-
-
Method Details
-
getNativeTarget
-
getNativeName
-
getNativeReturn
-
getNativeSignature
-
isStatic
public boolean isStatic() -
isJava
public boolean isJava() -
hasContext
public boolean hasContext() -
hasBlock
public boolean hasBlock() -
getMethod
Get the java.lang.reflect.Method for this NativeCall- Returns:
- the reflected method corresponding to this NativeCall
-
getMethodQuiet
Get the java.lang.reflect.Method for this NativeCall quietly. If an error is raised, this method will return null;- Returns:
- the reflected method corresponding to this NativeCall, or null if it could not be found
-
getHandleQuiet
Get the java.lang.reflect.Method for this NativeCall quietly. If an error is raised, this method will return null;- Returns:
- the reflected method corresponding to this NativeCall, or null if it could not be found
-
toString
-