use of org.eclipse.xtext.linking.impl.ImportedNamesAdapter in project xtext-core by eclipse.
the class DefaultResourceDescription method getImportedNames.
@Override
public Iterable<QualifiedName> getImportedNames() {
EcoreUtil2.resolveLazyCrossReferences(resource, CancelIndicator.NullImpl);
ImportedNamesAdapter adapter = ImportedNamesAdapter.find(getResource());
if (adapter != null) {
ImmutableSet<QualifiedName> result = ImmutableSet.copyOf(adapter.getImportedNames());
return result;
}
return Collections.emptySet();
}
Aggregations