Kotlin KFunction reflection - get parameter values -
in order create simple annotation logs function calls, i'm trying grab following attributes function has said annotation:
- function name
- parameter names
- parameter values
what have far uses kcallable
value, makes grabbing name , names list of kparameter
simple. however, cannot figure out how values of said parameters make log statement more contextual.
does have ideas on grabbing these parameters values within annotation? doesn't need use kcallable
, seemed intuitive receiver.
Comments
Post a Comment