asAnnotation

Return this as a AnnotationDeclaration or throw UnsupportedOperationException.