public function createValidator($section, $type, $information)
    {
        switch ($type) {
            case 'classmap':
                return new ClassMapValidator(
                    $section . '.' . $type,
                    $information,
                    $this->baseDir,
                    $this->generator,
                    $this->report
                );
            case 'files':
                return new FilesValidator(
                    $section . '.' . $type,
                    $information,
                    $this->baseDir,
                    $this->generator,
                    $this->report
                );
            case 'psr-0':
                return new Psr0Validator(
                    $section . '.' . $type,
                    $information,
                    $this->baseDir,
                    $this->generator,
                    $this->report
                );
            case 'psr-4':
                return new Psr4Validator(
                    $section . '.' . $type,
                    $information,
                    $this->baseDir,
                    $this->generator,
                    $this->report
                );
            case 'exclude-from-classmap':
                // No op
                return null;
            default:
                throw new \InvalidArgumentException('Unknown auto loader type ' . $type . ' encountered!');
        }
    }