code: public static List<SgAnnotation> createAnnotations(final Annotation[] ann) {
          final List<SgAnnotation> list = new ArrayList<SgAnnotation>();
          if ((ann != null) && (ann.length > 0)) {
              for (int i = 0; i < ann.length; i++) {
                  final SgAnnotation annotation = new SgAnnotation(ann[i].annotationType()
                          .getPackage().getName(), ann[i].annotationType().getSimpleName());
                  // TODO Handle annotation arguments
                  list.add(annotation);
              }
          }
          return list;
      }
docs: Create a list of annotations.
  
  @param ann
  Java annotation array.
  
  @return List of annotations.