public void addAnnotation(JAnnotation annotation) {
if(isAnnotationPresent(annotation.getAnnotationType()))
throw new IllegalArgumentException("Annotation for '"+annotation.getAnnotationType().getName()+"' already added.");
String annotationType = annotation.getAnnotationType().getName();
if (_annotations == null) {
_annotations = new OrderedHashMap();
}
_annotations.put(annotationType, annotation);
}