It would be `elementKind.toReferenceType.asInstanceOf[ClassType].fullName`, actually. Which do you prefer?