class_docstr: TODO while there's no use case for nested import module right now, we might
      be able to use them for static analysis checks later on.
docstr: Generates an Import statement, that can be used to fake nested imports.
docstr_tok: ["Generates","an","Import","statement",",","that","can","be","used","to","fake","nested","imports","."]
code: def _get_nested_import_name(self):
      """
      Generates an Import statement, that can be used to fake nested imports.
      """
      i = self._nested_import
      # This is not an existing Import statement. Therefore, set position to
      # 0 (0 is not a valid line number).
      zero = (0, 0)
      names = [unicode(name) for name in i.namespace_names[1:]]
      name = helpers.FakeName(names, self._nested_import)
      new = tree.Import(i._sub_module, zero, zero, name)
      new.parent = self._module
      debug.dbg("Generated a nested import: %s", new)
      return helpers.FakeName(str(i.namespace_names[1]), new)
  
imports: import os
  from parso.python import tree
  from parso.tree import search_ancestor
  from parso import python_bytes_to_unicode
  from jedi._compatibility import FileNotFoundError, ImplicitNSInfo, force_unicode, unicode
  from jedi import debug
  from jedi import settings
  from jedi.parser_utils import get_cached_code_lines
  from jedi.evaluate import sys_path
  from jedi.evaluate import helpers
  from jedi.evaluate import compiled
  from jedi.evaluate import analysis
  from jedi.evaluate.utils import unite
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate.filters import AbstractNameDefinition
  from jedi.evaluate.base_context import ContextSet, NO_CONTEXTS
label_desc: Use image node_id 2 for calling the NestedImportModule obj's underlying member method code with example usage: obj._get_nested_import_name() and returns: helpers