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 java.lang.annotation.Annotation> |
getAnnotation(java.lang.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.
|
java.lang.String |
getName() |
java.lang.Object |
invoke(java.lang.Object _this,
java.lang.Object... args) |
isRoutable, wraphasAnnotationpublic RubyMethodRef(@Nonnull
org.jruby.RubyModule klass,
@Nonnull
org.jruby.internal.runtime.methods.DynamicMethod method)
@Nonnull public org.jruby.RubyModule getKlass()
@Nonnull public org.jruby.internal.runtime.methods.DynamicMethod getMethod()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> type)
getAnnotation in class AnnotatedRefCopyright © 2018. All Rights Reserved.