}
// If the prefixed identifier references some A.B, where A is a library prefix, then we can
// lookup the associated ImportDirective in prefixElementMap and remove it from the
// unusedImports list.
SimpleIdentifier prefixIdentifier = node.getPrefix();
Element element = prefixIdentifier.getStaticElement();
if (element instanceof PrefixElement) {
ArrayList<ImportDirective> importDirectives = prefixElementMap.get(element);
if (importDirectives != null) {
for (ImportDirective importDirective : importDirectives) {
unusedImports.remove(importDirective);