public class DeclarationScanner extends Object implements DeclarationVisitor
A visitor for declarations that scans declarations contained within
the given declaration. For example, when visiting a class, the
methods, fields, constructors, and nested types of the class are
also visited.
To control the processing done on a declaration, users of this
class pass in their own visitors for pre and post processing. The
preprocessing visitor is called before the contained declarations
are scanned; the postprocessing visitor is called after the
contained declarations are scanned.