@NotNull
 public static List<RatedResolveResult> multiResolveImportElement(
     PyImportElement importElement, @NotNull final QualifiedName qName) {
   if (ApplicationManager.getApplication().isUnitTestMode()) {
     PyPsiUtils.assertValid(importElement);
   }
   final PyStatement importStatement = importElement.getContainingImportStatement();
   if (importStatement instanceof PyFromImportStatement) {
     return resolveNameInFromImport((PyFromImportStatement) importStatement, qName);
   } else {
     return resolveNameInImportStatement(importElement, qName);
   }
 }
 @Override
 public Icon getIcon(int flags) {
   PyPsiUtils.assertValid(this);
   final Property property = getProperty();
   if (property != null) {
     if (property.getGetter().valueOrNull() == this) {
       return PythonIcons.Python.PropertyGetter;
     }
     if (property.getSetter().valueOrNull() == this) {
       return PythonIcons.Python.PropertySetter;
     }
     if (property.getDeleter().valueOrNull() == this) {
       return PythonIcons.Python.PropertyDeleter;
     }
     return PlatformIcons.PROPERTY_ICON;
   }
   if (getContainingClass() != null) {
     return PlatformIcons.METHOD_ICON;
   }
   return PythonIcons.Python.Function;
 }