public final class MethodInvocationSupport 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 boolean |
classGuard(java.lang.Class<?> expected,
java.lang.Object receiver) |
static java.lang.Object |
fallback(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache,
java.lang.Object[] args) |
static boolean |
overloadedGuard_1(java.lang.Class<?> t1,
java.lang.Class<?> t2,
java.lang.Object receiver,
java.lang.Object arg) |
static boolean |
overloadedGuard_2(java.lang.Class<?> t1,
java.lang.Class<?> t2,
java.lang.Class<?> t3,
java.lang.Object receiver,
java.lang.Object arg1,
java.lang.Object arg2) |
static boolean |
overloadedGuard_3(java.lang.Class<?> t1,
java.lang.Class<?> t2,
java.lang.Class<?> t3,
java.lang.Class<?> t4,
java.lang.Object receiver,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3) |
static boolean |
overloadedGuard_4(java.lang.Class<?> t1,
java.lang.Class<?> t2,
java.lang.Class<?> t3,
java.lang.Class<?> t4,
java.lang.Class<?> t5,
java.lang.Object receiver,
java.lang.Object arg1,
java.lang.Object arg2,
java.lang.Object arg3,
java.lang.Object arg4) |
static boolean |
overloadedGuard_generic(java.lang.Class<?>[] types,
java.lang.Object[] arguments) |
static java.lang.Object |
resetFallback(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache,
java.lang.Object[] args) |
static java.lang.invoke.MethodHandle |
vtableLookup(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache,
java.lang.Object[] args) |
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 classGuard(java.lang.Class<?> expected, java.lang.Object receiver)
public static boolean overloadedGuard_generic(java.lang.Class<?>[] types, java.lang.Object[] arguments)
public static boolean overloadedGuard_1(java.lang.Class<?> t1, java.lang.Class<?> t2, java.lang.Object receiver, java.lang.Object arg)
public static boolean overloadedGuard_2(java.lang.Class<?> t1, java.lang.Class<?> t2, java.lang.Class<?> t3, java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2)
public static boolean overloadedGuard_3(java.lang.Class<?> t1, java.lang.Class<?> t2, java.lang.Class<?> t3, java.lang.Class<?> t4, java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
public static boolean overloadedGuard_4(java.lang.Class<?> t1, java.lang.Class<?> t2, java.lang.Class<?> t3, java.lang.Class<?> t4, java.lang.Class<?> t5, java.lang.Object receiver, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
public static java.lang.invoke.MethodHandle vtableLookup(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache, java.lang.Object[] args)
public static java.lang.Object resetFallback(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache, java.lang.Object[] args) throws java.lang.Throwable
java.lang.Throwable
public static java.lang.Object fallback(org.eclipse.golo.runtime.MethodInvocationSupport.InlineCache inlineCache, java.lang.Object[] args) throws java.lang.Throwable
java.lang.Throwable