Interface ScopeVisitor<T>

  • All Known Implementing Classes:
    ScopeFilterVisitor

    public interface ScopeVisitor<T>
    Visitor over the closed set of query scope variants.
    • Method Detail

      • visitAll

        T visitAll​(AllScope scope)
        Visits the unrestricted whole-project scope.
        Parameters:
        scope - the scope
        Returns:
        the visitor result
      • visitClass

        T visitClass​(ClassScope scope)
        Visits a scope restricted to matching classes.
        Parameters:
        scope - the scope
        Returns:
        the visitor result
      • visitMethod

        T visitMethod​(MethodScope scope)
        Visits a scope restricted to matching methods.
        Parameters:
        scope - the scope
        Returns:
        the visitor result
      • visitDuring

        T visitDuring​(DuringScope scope)
        Visits a scope restricted to events observed while matching methods execute.
        Parameters:
        scope - the scope
        Returns:
        the visitor result