0

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!

Viki
  • 107
  • 1
  • 8

1 Answers1

1

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

Robert Scholte
  • 11,889
  • 2
  • 35
  • 44