Cross-reference resolution in Xtext