Package org.kohsuke.stapler.lang
Class MethodRef
java.lang.Object
org.kohsuke.stapler.lang.AnnotatedRef
org.kohsuke.stapler.lang.MethodRef
- Direct Known Subclasses:
MethodRefFilter
- Since:
- 1.220
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.stapler.lang.AnnotatedRef
getAnnotation, hasAnnotation
-
Constructor Details
-
MethodRef
public MethodRef()
-
-
Method Details
-
isRoutable
public boolean isRoutable()Returns true if this method is a 'public' method that should be used for routing requests. -
getName
Retrieves the referenced method name. Some implementations (e.g. Ruby) cannot guarantee availability of names for all cases, so sometimes the name may be missing.- Returns:
- Method name.
null
if it cannot be determined. - Since:
- 1.248
-
invoke
public abstract Object invoke(Object _this, Object... args) throws InvocationTargetException, IllegalAccessException -
wrap
-