public class RubyMethodRef
extends org.kohsuke.stapler.lang.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) |
@Nonnull public org.jruby.RubyModule getKlass()
@Nonnull public org.jruby.internal.runtime.methods.DynamicMethod getMethod()
public String getName()
getName in class org.kohsuke.stapler.lang.MethodRefpublic <T extends Annotation> T getAnnotation(Class<T> type)
getAnnotation in class org.kohsuke.stapler.lang.AnnotatedRefpublic Object invoke(Object _this, Object... args) throws InvocationTargetException, IllegalAccessException
invoke in class org.kohsuke.stapler.lang.MethodRefInvocationTargetExceptionIllegalAccessExceptionCopyright © 2020. All rights reserved.