public final class ReflectionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Object |
analyticsBuilder(@NotNull String measurementId,
@NotNull String apiSecret) |
static boolean |
analyticsPresent() |
static Object |
invokeOrThrow(@NotNull Method method,
@NotNull Object target,
Object... params) |
static @NotNull Method |
methodOrThrow(@NotNull String className,
@NotNull String methodName,
Class<?>... parameterTypes) |
static <T> T |
reflectiveProxy(@NotNull Class<T> interf,
@NotNull Object delegate) |
static <T> T |
reflectiveProxy(@NotNull Class<T> interf,
@NotNull Object delegate,
boolean returnProxy) |
public static boolean analyticsPresent()
@NotNull public static @NotNull Object analyticsBuilder(@NotNull @NotNull String measurementId, @NotNull @NotNull String apiSecret)
@NotNull public static @NotNull Method methodOrThrow(@NotNull @NotNull String className, @NotNull @NotNull String methodName, Class<?>... parameterTypes)
public static Object invokeOrThrow(@NotNull @NotNull Method method, @NotNull @NotNull Object target, Object... params)
@NotNull
public static <T> T reflectiveProxy(@NotNull
@NotNull Class<T> interf,
@NotNull
@NotNull Object delegate)
throws IllegalArgumentException
IllegalArgumentException@NotNull
public static <T> T reflectiveProxy(@NotNull
@NotNull Class<T> interf,
@NotNull
@NotNull Object delegate,
boolean returnProxy)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2023. All rights reserved.