code: public MemberSummaryWriter getMemberSummaryWriter(
          AnnotationTypeWriter annotationTypeWriter, int memberType)
      throws Exception {
          switch (memberType) {
              case VisibleMemberMap.ANNOTATION_TYPE_FIELDS:
                  return (AnnotationTypeFieldWriterImpl)
                      getAnnotationTypeFieldWriter(annotationTypeWriter);
              case VisibleMemberMap.ANNOTATION_TYPE_MEMBER_OPTIONAL:
                  return (AnnotationTypeOptionalMemberWriterImpl)
                      getAnnotationTypeOptionalMemberWriter(annotationTypeWriter);
              case VisibleMemberMap.ANNOTATION_TYPE_MEMBER_REQUIRED:
                  return (AnnotationTypeRequiredMemberWriterImpl)
                      getAnnotationTypeRequiredMemberWriter(annotationTypeWriter);
              default:
                  return null;
          }
      }
docs: {@inheritDoc}