public final class Utils_Reflection extends Utils
Modifier and Type | Method and Description |
---|---|
static boolean |
callBooleanReturnMethod(java.lang.Object instance,
java.lang.String methodName,
boolean showError) |
static boolean |
callBooleanReturnMethod(java.lang.Object instance,
java.lang.String methodName,
java.lang.Class[] paramTypes,
boolean showError,
java.lang.Object... params) |
static java.lang.String |
fieldStringValue(java.lang.reflect.Field field) |
static <T> void |
nullOut(T target,
java.lang.Class<? extends T> type) |
static <T> T |
staticFieldValue(java.lang.reflect.Field field) |
contains, doForEach_break, doForEach_break, hasManifestPermission, hasPermission, haveMatchingIds, haveMatchingName, isAndroid10, isKitKat, isLocationEnabledForScanning_byManifestPermissions, isLocationEnabledForScanning_byOsServices, isLocationEnabledForScanning_byRuntimePermissions, isLocationEnabledForScanning, isLollipop, isManufacturer, isMarshmallow, isNougat, isOnMainThread, isOreo, isProduct, isSuccess, phoneHasBondingIssues, refreshGatt
public static java.lang.String fieldStringValue(java.lang.reflect.Field field)
public static <T> T staticFieldValue(java.lang.reflect.Field field)
public static <T> void nullOut(T target, java.lang.Class<? extends T> type)
public static boolean callBooleanReturnMethod(java.lang.Object instance, java.lang.String methodName, boolean showError)
public static boolean callBooleanReturnMethod(java.lang.Object instance, java.lang.String methodName, java.lang.Class[] paramTypes, boolean showError, java.lang.Object... params)