This method could do with some refactoring

```scala
annot.atp.typeSymbol.annotations.collectFirst {
   case annotRet if ann.matches(AnnotationRetentionAttr)) =>
     annotRet.assocs.collectFirst { 
        case (`nme.value`, LiteralAnnotArg(Constant(value: Symbol))) => value
     }.getOrElse(AnnotationRetentionPolicyClassValue)
}
```