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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -