public final class ClosureCallSupport extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.invoke.CallSite |
bootstrap(java.lang.invoke.MethodHandles.Lookup caller,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.Object... bsmArgs) |
static java.lang.Object |
fallback(org.eclipse.golo.runtime.ClosureCallSupport.InlineCache callSite,
java.lang.Object[] args) |
static boolean |
guard(FunctionReference expected,
FunctionReference actual) |
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup caller, java.lang.String name, java.lang.invoke.MethodType type, java.lang.Object... bsmArgs)
public static boolean guard(FunctionReference expected, FunctionReference actual)
public static java.lang.Object fallback(org.eclipse.golo.runtime.ClosureCallSupport.InlineCache callSite, java.lang.Object[] args) throws java.lang.Throwable
java.lang.Throwable