public class SandboxedMethodClosure
extends org.codehaus.groovy.runtime.MethodClosure
MethodClosure
that checks the call.Constructor and Description |
---|
SandboxedMethodClosure(Object owner,
String method) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doCall() |
protected Object |
doCall(Object arguments) |
protected Object |
doCall(Object[] arguments)
Special logic needed to handle invocation due to not being an instance of MethodClosure itself.
|
asWritable, call, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline
protected Object doCall(Object[] arguments)
MetaClassImpl.invokeMethod(Class, Object, String, Object[], boolean, boolean)
and its special handling
of objectClass == MethodClosure.class
.protected Object doCall()
Copyright © 2019. All rights reserved.