Package com.saicone.rtag.util.reflect
Class Lookup
java.lang.Object
com.saicone.rtag.util.reflect.Lookup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @NotNull Lookup.AClass<T>static Class<?>caller()static Class<?>caller(boolean ignoreCurrent) static <T> Tinvoke(@NotNull MethodHandle handle) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1) static <T> Tstatic <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5, @Nullable Object arg6) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5, @Nullable Object arg6, @Nullable Object arg7) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5, @Nullable Object arg6, @Nullable Object arg7, @Nullable Object arg8) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5, @Nullable Object arg6, @Nullable Object arg7, @Nullable Object arg8, @Nullable Object arg9) static <T> Tinvoke(@NotNull MethodHandle handle, @Nullable Object arg1, @Nullable Object arg2, @Nullable Object arg3, @Nullable Object arg4, @Nullable Object arg5, @Nullable Object arg6, @Nullable Object arg7, @Nullable Object arg8, @Nullable Object arg9, @Nullable Object arg10) static @NotNull MethodTypemethodType(@NotNull Class<?> returnType, @NotNull Class<?>... classes) static intscore(int[] expected, int actual) static intstatic int
-
Field Details
-
RUNTIME
-
SERVER
-
-
Method Details
-
invoke
-
invoke
-
invoke
-
invoke
-
invoke
-
invoke
-
invoke
-
invoke
-
invoke
public static <T> T invoke(@NotNull @NotNull MethodHandle handle, @Nullable @Nullable Object arg1, @Nullable @Nullable Object arg2, @Nullable @Nullable Object arg3, @Nullable @Nullable Object arg4, @Nullable @Nullable Object arg5, @Nullable @Nullable Object arg6, @Nullable @Nullable Object arg7, @Nullable @Nullable Object arg8) -
invoke
public static <T> T invoke(@NotNull @NotNull MethodHandle handle, @Nullable @Nullable Object arg1, @Nullable @Nullable Object arg2, @Nullable @Nullable Object arg3, @Nullable @Nullable Object arg4, @Nullable @Nullable Object arg5, @Nullable @Nullable Object arg6, @Nullable @Nullable Object arg7, @Nullable @Nullable Object arg8, @Nullable @Nullable Object arg9) -
invoke
public static <T> T invoke(@NotNull @NotNull MethodHandle handle, @Nullable @Nullable Object arg1, @Nullable @Nullable Object arg2, @Nullable @Nullable Object arg3, @Nullable @Nullable Object arg4, @Nullable @Nullable Object arg5, @Nullable @Nullable Object arg6, @Nullable @Nullable Object arg7, @Nullable @Nullable Object arg8, @Nullable @Nullable Object arg9, @Nullable @Nullable Object arg10) -
caller
-
caller
-
aClass
-
methodType
-
score
public static int score(int[] expected, int actual) -
score
-
score
-