public function buildClassContext(\ReflectionClass $reflection, $hash, $view = null)
    {
        $classContext = new ClassContext();
        $classContext->hash = $hash;
        $classContext = $this->handleExclusionPolicy($reflection, $classContext);

        $classContext->views = $view;
        $classContext = $this->handleView($classContext);

        return $classContext;
    }