docs: protected LightweightTypeReference getExpectedType(XExpression expr) {
  		final IResolvedTypes resolvedTypes = getTypeResolver().resolveTypes(expr);
  		final LightweightTypeReference actualType = resolvedTypes.getActualType(expr);
  		return actualType;
  	}