service / com.scurab.android.uitor.reflect / Reflector

Reflector

abstract class Reflector<T : Any!>

Constructors

<init>

Reflector(real: T)

Properties

mClass

val mClass: Class<*>!

mReal

val mReal: T

Functions

callByReflection

open fun <T : Any!> callByReflection(vararg params: Any!): T

callMethodByReflection

open fun <T : Any!> callMethodByReflection(methodName: String?, vararg params: Any!): T
open static fun <T : Any!> callMethodByReflection(clazz: Class<*>, receiver: Any?, methodName: String?, vararg params: Any!): T

fixAutoboxing

open static fun fixAutoboxing(params: Array<Class<*>!>!): Unit
open static fun fixAutoboxing(clz: Class<*>!): Class<Any!>!

getFieldValue

open fun <T : Any!> getFieldValue(fieldName: String!): T
open static fun <T : Any!> getFieldValue(obj: Any!, fieldName: String!): T
open static fun <T : Any!> getFieldValue(obj: Any!, clz: Class<Any!>!, fieldName: String!, crashIfNotFound: Boolean): T

Inheritors

ActivityThreadReflector

open class ActivityThreadReflector : Reflector<Any!>

ColorStateListReflector

open class ColorStateListReflector : Reflector<ColorStateList!>

FragmentManagerReflector

open class FragmentManagerReflector : Reflector<FragmentManager!>

FragmentReflector

open class FragmentReflector : Reflector<Any!>

ObjectReflector

open class ObjectReflector : Reflector<Any!>

ResourcesReflector

open class ResourcesReflector : Reflector<Resources!>

StateListDrawableReflector

open class StateListDrawableReflector : Reflector<StateListDrawable!>

SupportBackStackEntryReflector

open class SupportBackStackEntryReflector : Reflector<BackStackEntry!>

ViewOverlayReflector

open class ViewOverlayReflector : Reflector<ViewOverlay!>

ViewReflector

open class ViewReflector : Reflector<View!>

ViewRootImplReflector

open class ViewRootImplReflector : Reflector<Any!>

WindowManagerGlobalReflector

open class WindowManagerGlobalReflector : Reflector<Any!>, WindowManager

WindowManagerGlobalReflectorA17

open class WindowManagerGlobalReflectorA17 : Reflector<Any!>, WindowManager

WindowManagerImplReflector

WindowManager used on API<18

open class WindowManagerImplReflector : Reflector<Any!>, WindowManager