private function collectUnusedPrivateFields(ClassNode $class) { $this->fields = array(); $this->collectPrivateFields($class); $this->removeUsedFields($class); return $this->fields; }