pred = (Predicate) i.next();
Predicate pred = (Predicate) i.next();
	public Sequence eval(Sequence contextSequence, Item contextItem) throws XPathException {        if (context.getProfiler().isEnabled()) {            context.getProfiler().start(this);                   context.getProfiler().message(this, Profiler.DEPENDENCIES, "DEPENDENCIES", Dependency.getDependenciesName(this.getDependencies()));            if (contextSequence != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT SEQUENCE", contextSequence);            if (contextItem != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT ITEM", contextItem.toSequence());        }        		if (contextItem != null)			contextSequence = contextItem.toSequence();                Sequence result;		Sequence seq = expression.eval(contextSequence, contextItem);		if (seq.getLength() == 0)			result = Sequence.EMPTY_SEQUENCE;        else {                		seq.setSelfAsContext();     		result = seq;            Predicate pred;    		for (Iterator i = predicates.iterator(); i.hasNext();) {    			pred = (Predicate) i.next();    			result = pred.evalPredicate(contextSequence, result, Constants.DESCENDANT_SELF_AXIS);    		}        }                if (context.getProfiler().isEnabled())                       context.getProfiler().end(this, "", result);         		return result;	}