You're doing it wrong. ;-)
This is all you need:
| void doVisit(MetaDataVisitorNode node)
| {
| // check node
| someNodeCheck(node);
|
| Iterator<? extends MetaDataVisitorNode> children = node.getChildren();
| if (children != null)
| {
| while(children.hasNext())
| {
| doVisit(children.next());
| }
| }
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209051#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...