Package org.jruby.javasupport
Class JavaCallable
java.lang.Object
org.jruby.javasupport.JavaCallable
- All Implemented Interfaces:
ParameterTypes
- Direct Known Subclasses:
JavaConstructor
,JavaMethod
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AccessibleObject
protected final void
checkArity
(ThreadContext context, int length) abstract boolean
final int
getArity()
abstract Class<?>[]
abstract Type[]
abstract Type[]
abstract int
abstract Annotation[][]
final Class<?>[]
protected final IRubyObject
protected final IRubyObject
handleThrowable
(ThreadContext context, Throwable ex) abstract int
hashCode()
static StringBuilder
inspectParameterTypes
(StringBuilder str, ParameterTypes target) abstract boolean
abstract String
toString()
-
Field Details
-
parameterTypes
-
-
Constructor Details
-
JavaCallable
-
-
Method Details
-
getArity
public final int getArity()- Specified by:
getArity
in interfaceParameterTypes
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceParameterTypes
-
getModifiers
public abstract int getModifiers() -
getExceptionTypes
- Specified by:
getExceptionTypes
in interfaceParameterTypes
-
getGenericExceptionTypes
-
getGenericParameterTypes
-
getParameterAnnotations
-
isVarArgs
public abstract boolean isVarArgs()- Specified by:
isVarArgs
in interfaceParameterTypes
-
toGenericString
-
accessibleObject
-
equals
-
hashCode
public abstract int hashCode() -
toString
-
checkArity
-
handleThrowable
-
handleInvocationTargetEx
protected final IRubyObject handleInvocationTargetEx(ThreadContext context, InvocationTargetException ex) -
inspectParameterTypes
-