/**
  * Verifies if this type is a possible IDE default.
  *
  * @param UnknownTypeDescriptor|TypeInterface $type
  *
  * @return bool
  */
 private function isTypeAnIdeDefault(TypeInterface $type)
 {
     return $type->getName() === '\\type' || $type->getName() === '\\unknown';
 }
 /**
  * Returns the name for this type.
  *
  * @return TypeInterface
  */
 public function getName()
 {
     return $this->baseType instanceof TypeInterface ? $this->baseType->getName() : $this->baseType;
 }