public function containsClassAnnotation($annotationName)
    {
        foreach ($this->getClassAnnotations() as $annotation) {
            if ($annotation instanceof $annotationName) {
                return true;
            }
        }

        return false;
    }