Thanks for your answers (both, this and the CommandLine one).
Yes, I have already decided to use Matchers as what I want is much more complex than the example I put in the message. I need to match some kind of nodes and in addition I want to have control of the matchers that are used in a certain execution and I see that more confusing with RecursiveASTVisitor.
Sometimes I see some methods in the classes and I don’t know whether I should use them or not. But now, I have everything much more clear, thanks.
El dia 06 may 2013 22:32, “Vane, Edwin” email@example.com escribió: