function getParentClass() {
		for ($i = $this->count() - 1; $i >= 0; $i --) {
			$item = $this->statements[$i];
			if ($item->type === "CLASS" || $item->type === "INTERFACE") {
				return $item;
			}
		}
		// In case of a empty stack, we are at the root of a PHP file (with no class or function).
		return $this->getDefaultItem();
	}