Class Heuristics.OrMatcher

All Implemented Interfaces:
TreeVisitor<Boolean,Void>
Enclosing class:
Heuristics

public static class Heuristics.OrMatcher extends Heuristics.Matcher
match() returns true if any of the given matchers returns true.
  • Constructor Details

  • Method Details

    • match

      public boolean match(TreePath path)
      Description copied from class: Heuristics.Matcher
      Returns true if the given path matches this Matcher.
      Overrides:
      match in class Heuristics.Matcher
      Parameters:
      path - the path to test
      Returns:
      true if the given path matches this Matcher