Children of org.eclipse.jdt.core.dom.ASTNode

Viewed 2014

Using Eclise JDT, I need to retrieve the children of any ASTNode. Is there a utility method somewhere that I could use ?

The only way I can think of right now is to subclass ASTVisitor and treat each kind of node manually to find its children. But it's a lot of work to study every node type.

2 Answers
Related