Class TraversingJVisitor


  • public class TraversingJVisitor
    extends JVisitor

    An adaptor which helps another MVisitor visit a JElement and its children, recursively. Note that inherited class or annotations members are never visited, nor are referenced classes (e.g. referenced via member types). The following table lists each element and the child types which are traversed.

    ElementSub-elements traversal
    Package Classes, Annotations, Comments
    Class Fields, Constructors, Methods, Annotations, Comments
    Field Annotations, Comments
    Constructor Parameters, Annotations, Comments
    Method Parameters, Annotations, Comments
    Parameter Annotations, Comments
    Annotation [none]
    Comment [none]