code: private AnnotationType getAnnotationType(final KAMStore kAMStore,
              final Kam kam, final String name) throws KAMStoreException {
  
          AnnotationType annoType = null;
          List<BelDocumentInfo> belDocs =
                  kAMStore.getBelDocumentInfos(kam.getKamInfo());
          //loop through all BEL documents used for this KAM
          for (BelDocumentInfo doc : belDocs) {
              //check annotation type on each document
              List<AnnotationType> annoTypes = doc.getAnnotationTypes();
              for (AnnotationType a : annoTypes) {
                  if (a.getName().equals(name)) {
                      annoType = a;
                      break;
                  }
              }
              if (annoType != null) {
                  break;
              }
          }
          return annoType;
      }
docs: Returns the first annotation type matching the specified name
  @param kam
  @param name
  @return AnnotationType, maybe null