public class RubyMethodRef extends MethodRef
| Constructor and Description |
|---|
RubyMethodRef(org.jruby.RubyModule klass,
org.jruby.internal.runtime.methods.DynamicMethod method) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> type) |
org.jruby.RubyModule |
getKlass()
Retrieves the Ruby module (aka class), for which the method is declared.
|
org.jruby.internal.runtime.methods.DynamicMethod |
getMethod()
Retrieves the referenced method.
|
String |
getName() |
Object |
invoke(Object _this,
Object... args) |
isRoutable, wraphasAnnotation@Nonnull public org.jruby.RubyModule getKlass()
@Nonnull public org.jruby.internal.runtime.methods.DynamicMethod getMethod()
public <T extends Annotation> T getAnnotation(Class<T> type)
getAnnotation in class AnnotatedRefpublic Object invoke(Object _this, Object... args) throws InvocationTargetException, IllegalAccessException
invoke in class MethodRefInvocationTargetExceptionIllegalAccessExceptionCopyright © 2017. All Rights Reserved.