boolean _notEquals = (!Objects.equal(_version, null));
if (_notEquals) {
final List<INode> nodes = NodeModelUtils.findNodesForFeature(iu, TargetPlatformPackage.Literals.IU__VERSION);
INode _head = IterableExtensions.<INode>head(nodes);
EObject _grammarElement = _head.getGrammarElement();
AbstractRule _rule = ((RuleCall) _grammarElement).getRule();
String _name = _rule.getName();
boolean _equals = "STRING".equals(_name);
if (_equals) {
this.warning("Usage of strings is deprecated for version range. You should remove the quotes.", iu,
TargetPlatformPackage.Literals.IU__VERSION,
TargetPlatformValidator.DEPRECATE__STRINGS_ON_IU_VERSION);