How can I get values of method parameter

private static final String[] TEST_DATA = new String[]{"a", "b", "c"};

private void printAll() {
for (String s : TEST_DATA) {

@Description("Print string")
private void print(String s) {

I have a plugin to call for printAll and grab all the Description values for child methods, but in this case I need to display:
Print string a
Print string b
Print string c

Can you please advise is it possible? If yes, how can I do it?

Thank you in advance.

1 comment

There is no real generic API to inspect all possible programs and their execution in the way you want to monitor it.


Please sign in to leave a comment.