code: public void accumulateAnnotations(List<String> annotations, AnnotationsAttribute annatt)
      {
          if (null == annatt)
          {
              return;
          }
          for (Annotation ann : annatt.getAnnotations())
          {
              annotations.add(ann.getTypeName());
          }
      }
docs: Accumulate annotations.
  
  @param annotations
  the annotations
  @param annatt
  the annatt