code: protected boolean appliesToPathConstraint( List<Component> predicates ) {
          if (predicates.isEmpty()) return true;
          if (predicates.size() > 1) return false;
          assert predicates.size() == 1;
          Component predicate = predicates.get(0);
          if (predicate instanceof Literal && ((Literal)predicate).isInteger()) return true;
          if (predicate instanceof NameTest && ((NameTest)predicate).isWildcard()) return true;
          return false;
      }
docs: Determine if the predicates contain any expressions that cannot be put into a LIKE constraint on the path.
  
  @param predicates the predicates
  @return true if the supplied predicates can be handled entirely in the LIKE constraint on the path, or false if they have
  to be handled as other criteria