Class ClassVisitFilter

    • Constructor Detail

      • ClassVisitFilter

        public ClassVisitFilter​(Class<?> clazz)
        Constructor
        Parameters:
        clazz - class of objects that visitors should be restricted to
    • Method Detail

      • visitChildren

        public boolean visitChildren​(Object object)
        Controls whether or not the object's children will be visited
        Specified by:
        visitChildren in interface IVisitFilter
        Returns:
        true if the object's children should be visited
      • visitObject

        public boolean visitObject​(Object object)
        Controls whether or not the object will be visited
        Specified by:
        visitObject in interface IVisitFilter
        Returns:
        true if the object should be visited