/** * Indicates whether there are any selectors here. * * @return whether any selectors are in this container. */ @Override public synchronized boolean hasSelectors() { if (isReference()) { return getRef(getProject()).hasSelectors(); } dieOnCircularReference(); return !selectors.isEmpty(); }