if ( !node.getDerefAliases().derefInSearching() )
if ( !node.getDerefAliases().isDerefInSearching() )
    private NamingEnumeration enumerateDescendants( final ScopeNode node ) throws NamingException    {        Index idx = null;        /*         * If we do not dereference while searching then we simply return any         * entry that is not a descendant of the base.         */        if ( !node.getDerefAliases().derefInSearching() )        {            // Gets a NamingEnumeration over all elements            idx = db.getNdnIndex();            NamingEnumeration underlying = idx.listIndices();            return new IndexAssertionEnumeration( underlying, new AssertDescendant( node ) );        }        // Create an assertion to assert or evaluate an expression        IndexAssertion assertion = new IndexAssertion()        {            public boolean assertCandidate( IndexRecord rec ) throws NamingException            {                return evaluator.evaluate( node, rec );            }        };        // Gets a NamingEnumeration over all elements        idx = db.getNdnIndex();        NamingEnumeration underlying = idx.listIndices();        return new IndexAssertionEnumeration( underlying, assertion );    }