INRIA/spoon — pull request #9 by fangzhen (2014-07-01 15:42:36+00:00)
Title: Fix AnnotationFacotry#annotate() to avoid adding to a unmodifiableList

The AnnotationFacotry#annotate() add an annotation by "element.getAnnotations().add(annotation)", but element.getAnnotations() method returns an unmodifiedList, which will then cause Exception. Changed version use element.addAnnotation(annotation) instead.