code: private AnnotationNode getAnnotation(String desc, List<AnnotationNode> annotations) {
          if (annotations == null) {
              return null;
          }
          for (AnnotationNode an : annotations) {
              if (desc.equals(an.desc)) {
                  return an;
              }
          }
          return null;
      }
docs: Find the described annotation in the list of {@code AnnotationNode}s.
  
  @param desc the annotation descriptor
  @param annotations the list of annotations
  
  @return the annotation that matches the provided descriptor or null
  if no matching annotation was found