type = $type; $this->oldAnnotation = $oldAnnotation; $this->newAnnotation = $newAnnotation; } public function getObjectType() : ObjectType { return new ObjectType($this->type); } public function getOldAnnotation() : string { return $this->oldAnnotation; } public function getNewAnnotation() : string { return $this->newAnnotation; } }