function getAllInterfaces($includeSelf) {
    if (NULL === $this->interfacesAll) {
      $this->interfacesAllInclSelf = $this->interfacesAll = $this->buildAllInterfacesWithoutSelf();
      if (NULL !== $this->selfInterfaceName) {
        $selfInterface = $this->classIndex->classGetReflection($this->selfInterfaceName);
        if (NULL !== $selfInterface) {
          $this->interfacesAllInclSelf = array($this->selfInterfaceName => $selfInterface) + $this->interfacesAllInclSelf;
        }
      }
    }
    return $includeSelf
      ? $this->interfacesAllInclSelf
      : $this->interfacesAll;
  }