List<String> () { final QualifiedName source = getImportSourceQName(); final String prefix = (source != null) ? (source.join(".") + '.') : ""; final List<String> unqualifiedNames = PyImportStatementImpl.getImportElementNames(getImportElements()); final List<String> result = new ArrayList<>(unqualifiedNames.size()); for (final String unqualifiedName : unqualifiedNames) { result.add(prefix + unqualifiedName); } return result; }