public Applicator bind(Object target, String methodname) { Class<?> cls = target.getClass(); if (!methods.has(cls, methodname, String.class)) barf(cls, methodname); Method method = methods.get(cls, methodname, String.class); method.setAccessible(true); return impl.impl(ReflectiveApplicator.class, target, method); }
public Runnable imbune( Runnable runnable, ErrorHandler errors, TimeoutHandler timeouts, int timeout) { Runnable safe = impl.impl(SafeRunnable.class, runnable, errors); return impl.impl(TimeBoxedRunnable.class, safe, timeouts, timeout); }