how to get fields of method in QDOX 2.0 API?

45 views Asked by At

In QDOX 2.0 API, how to get fields (variables) declared/used within a method?

com.thoughtworks.qdox.model.JavaMethod do not have method like getFields() or something alike to get the list of fields under method.

Please advise.

Thanks!

1

There are 1 answers

0
Robert Scholte On

QDox doesn't provide access to the elements inside the method body, you can only get the complete codeblock.