code: public static MemberSummaryBuilder getInstance(
              ClassWriter classWriter, Context context) {
          MemberSummaryBuilder builder = new MemberSummaryBuilder(context,
                  classWriter.getTypeElement());
          WriterFactory wf = context.configuration.getWriterFactory();
          for (VisibleMemberMap.Kind kind : VisibleMemberMap.Kind.values()) {
              MemberSummaryWriter msw =  builder.getVisibleMemberMap(kind).noVisibleMembers()
                      ? null
                      : wf.getMemberSummaryWriter(classWriter, kind);
              builder.memberSummaryWriters.put(kind, msw);
          }
          return builder;
      }
docs: Construct a new MemberSummaryBuilder.
  
  @param classWriter   the writer for the class whose members are being
  summarized.
  @param context       the build context.