}
}
@Nullable
public PsiElement resolveLibrary(final @NotNull DartReference reference) {
final DartPsiCompositeElementImpl statement =
PsiTreeUtil.getParentOfType(reference, DartImportStatementImpl.class, DartExportStatementImpl.class);
final DartPathOrLibraryReference pathOrLibraryReference =
PsiTreeUtil.getChildOfType(statement, DartPathOrLibraryReference.class);
return pathOrLibraryReference != null ? pathOrLibraryReference.resolve() : null;
}