code: def source_statement(self):
          
          if self._has_alias():
              return 'import %s as %s' % (self.fullName, self.name)
          else:
              return 'import %s' % self.fullName
docs: Generate a source statement equivalent to the import.