[java] Replace wholeText()
with NodeVisitor
#369
Merged
8000
wholeText()
with NodeVisitor
#369