Community
Participate
Working Groups
In here @Override public String getImportedTypeName() { String result = getImportedNamespace(); if (result == null) { if (this.eIsSet(Xtend2Package.Literals.XTEND_IMPORT__IMPORTED_TYPE)) { List<INode> list = NodeModelUtils.findNodesForFeature(this, Xtend2Package.Literals.XTEND_IMPORT__IMPORTED_TYPE); StringBuilder sb = new StringBuilder(); for (INode iNode : list) { sb.append(NodeModelUtils.getTokenText(iNode)); } return sb.toString().replace(" ", ""); } return null; } if (isWildcard()) { if (result.length() > 2) return result.substring(0, result.length() - 2); return null; } return result; } the node value you pull out won't replace the escape (^) character extracted from the node.
This has been fixed in the meantime. The respective code is now in XImportDeclarationImplCustom.
Requested via bug 522520. -M.