Support chained named queries (example: DomainClass.query1.query2.list())

This commit is contained in:
Sergey Evdokimov
2011-09-30 13:45:21 +04:00
parent 4bbbde4a04
commit c8b0d91dbf
@@ -193,4 +193,12 @@ public class GrLightField extends GrLightVariable implements GrField {
return false;
}
@Override
public PsiElement copy() {
assert getNavigationElement() != this;
GrLightField copy = new GrLightField(myContainingClass, getName(), getType(), getNavigationElement());
copy.setCreatorKey(getCreatorKey());
return copy;
}
}