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 AccessibleObjectprotected final voidcheckArity(ThreadContext context, int length) abstract booleanfinal intgetArity()abstract Class<?>[]abstract Type[]abstract Type[]abstract intabstract Annotation[][]final Class<?>[]protected final IRubyObjectprotected final IRubyObjecthandleThrowable(ThreadContext context, Throwable ex) abstract inthashCode()static StringBuilderinspectParameterTypes(StringBuilder str, ParameterTypes target) abstract booleanabstract StringtoString()
-
Field Details
-
parameterTypes
-
-
Constructor Details
-
JavaCallable
-
-
Method Details
-
getArity
public final int getArity()- Specified by:
getArityin interfaceParameterTypes
-
getParameterTypes
- Specified by:
getParameterTypesin interfaceParameterTypes
-
getModifiers
public abstract int getModifiers() -
getExceptionTypes
- Specified by:
getExceptionTypesin interfaceParameterTypes
-
getGenericExceptionTypes
-
getGenericParameterTypes
-
getParameterAnnotations
-
isVarArgs
public abstract boolean isVarArgs()- Specified by:
isVarArgsin interfaceParameterTypes
-
toGenericString
-
accessibleObject
-
equals
-
hashCode
public abstract int hashCode() -
toString
-
checkArity
-
handleThrowable
-
handleInvocationTargetEx
protected final IRubyObject handleInvocationTargetEx(ThreadContext context, InvocationTargetException ex) -
inspectParameterTypes
-