ret=nq;
}
return ret;
}
@Override
<BUG>protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) {
QueryFieldInfo qfi = findFieldInfo(q.getArray(), q);
if (qfi.getFieldEntity() == currentEntity) {</BUG>
if (qfi.getFieldMd() instanceof ResolvedReferenceField) {
Path arrName = qfi.getEntityRelativeFieldName();

ret=nq;
}
return ret;
}
@Override
protected QueryExpression itrArrayMatchExpression(ArrayMatchExpression q, Path context) {
Path newContext=context.equals(Path.EMPTY)?new Path(q.getArray(),Path.ANYPATH):
new Path(context,new Path(q.getArray(),Path.ANYPATH));
QueryFieldInfo oldContextField=contextField;
QueryFieldInfo qfi = findFieldInfo(q.getArray(), q);
try {
if (qfi.getFieldEntity() == currentEntity) {
if (qfi.getFieldMd() instanceof ResolvedReferenceField) {
Path arrName = qfi.getEntityRelativeFieldName();
