Duplicate: In a method is there a way to query the name of the method I am in? - Duplicate of Get the Current Stack Trace.
Still valid: And is there a way to get the parameters that were passed to the method?
Yes I can see all that in the method and use them literally, this is for a very weird idea where this might be useful. Also, I'm curious.
Aucun commentaire:
Enregistrer un commentaire