context.getProfiler().message(this, Profiler.OPTIMIZATION_FLAGS, "", "Generic evaluation");
context.getProfiler().message(this, Profiler.OPTIMIZATION_FLAGS, "", "Generic evaluation"); LOG.debug("GENERIC");
	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 input = getArgument(0).eval(contextSequence, contextItem);		if (input.getLength() == 0)            result = Sequence.EMPTY_SEQUENCE;                else if (inPredicate && !Dependency.dependsOn(getDependencies(), Dependency.CONTEXT_ITEM)) {            if (context.isProfilingEnabled())                context.getProfiler().message(this, Profiler.OPTIMIZATION_FLAGS, "", "Index evaluation");                        result = evalWithIndex(contextSequence, contextItem, input);        } else {            if (context.isProfilingEnabled())                context.getProfiler().message(this, Profiler.OPTIMIZATION_FLAGS, "", "Generic evaluation");                        result = evalGeneric(contextSequence, contextItem, input);        }                if (context.getProfiler().isEnabled())             context.getProfiler().end(this, "", result);                 return result;          	}