ModuleDeclaration moduleDeclaration = SourceParserUtil
.getModuleDeclaration(fSourceModule);
if (moduleDeclaration == null)
return new IModelElement[0];
UseStatement[] useStatements = ASTUtils.getUseStatements(
moduleDeclaration, moduleDeclaration.sourceEnd());
List<UseStatementElement> elements = new LinkedList<UseStatementElement>();
for (UseStatement useStatement : useStatements) {
for (UsePart usePart : useStatement.getParts()) {
elements.add(new UseStatementElement(
(ModelElement) fSourceModule, usePart));