SeslBaseReflector

Functions

Link copied to clipboard
open fun get(callerInstance: Any, field: Field): Any
Link copied to clipboard
open fun getClass(className: String): Class<out Any>
Link copied to clipboard
open fun getConstructor(className: String, paramTypes: Array<Class<out Any>>): Constructor<out Any>
Link copied to clipboard
open fun <T> getDeclaredField(classT: Class<T>, fieldName: String): Field
open fun getDeclaredField(className: String, fieldName: String): Field
Link copied to clipboard
open fun <T> getDeclaredMethod(classT: Class<T>, methodName: String, parameterTypes: Array<Class<out Any>>): Method
open fun getDeclaredMethod(className: String, methodName: String, parameterTypes: Array<Class<out Any>>): Method
Link copied to clipboard
open fun <T> getField(classT: Class<T>, fieldName: String): Field
open fun getField(className: String, fieldName: String): Field
Link copied to clipboard
open fun <T> getMethod(classT: Class<T>, methodName: String, parameterTypes: Array<Class<out Any>>): Method
open fun getMethod(className: String, methodName: String, parameterTypes: Array<Class<out Any>>): Method
Link copied to clipboard
open fun invoke(callerInstance: Any, method: Method, args: Array<Any>): Any
Link copied to clipboard
open fun set(callerInstance: Any, field: Field, value: Any)