/** * Returns true if this expression should be re-evaluated * each time the current position in the context changes. * @return boolean */ public synchronized boolean isContextDependent() { if (!contextDependencyKnown) { contextDependent = computeContextDependent(); contextDependencyKnown = true; } return contextDependent; }