@Override
  @Nullable
  public PyStatement getContainingImportStatement() {
    final PyImportElementStub stub = getStub();
    if (stub != null) {
      PsiElement parent = stub.getParentStub().getPsi();
      return parent instanceof PyStatement ? (PyStatement)parent : null;
    }
    else {
      return PyImportElement.super.getContainingImportStatement();
    }
  }
@Override
  @Nullable
  public PyStatement getContainingImportStatement()