protected function processClassStatement(Class_ $statement, string $prefix, array $uses = []): void
    {
        $class = $statement;
        $fullClassName = $prefix . '\\' . (string)$class->name;

        $this->classes[$fullClassName] = [
            'file' => $this->file,
            'line' => $class->getAttribute('startLine'),
            'name' => $fullClassName,
            'docblock' => $this->getDocBlock($class, $uses),
        ];

        foreach ($statement->stmts as $method) {
            if (!($method instanceof ClassMethod)) {
                continue;
            }

            $this->processClassMethod($method, $fullClassName, $uses);
        }
    }