validateJoinsIdentificationVariable(expression, declarations, declaration, index);
}
// Check the collection member declaration or derived path expression
else {
Type type = declaration.getType();
if (type == Type.DERIVED ||
type == Type.COLLECTION) {
// Retrieve the identification variable from the path expression