core/src/com/google/inject/spi/ModuleSource.java
List<String> getModuleClassNames() {
    ImmutableList.Builder<String> classNames = ImmutableList.builder();
    ModuleSource current = this;
    while (current != null) {
      String className = current.moduleClassName;
      classNames.add(className);
      current = current.parent;
    }
    return classNames.build();
  }
List<String> getModuleClassNames() {
    ImmutableList.Builder<String> classNames = ImmutableList.builder();
    ModuleSource current = this;
    while (current != null) {
      String className = current.moduleClassName;
      classNames.add(className);
      current = current.parent;
    }
    return classNames.build();
  }
Returns the class names of modules in this module source. The first element (index 0) is filled
by this object {@link #getModuleClassName()}. The second element is filled by the parent's
{@link #getModuleClassName()} and so on.