code: public void visit(CobolComplexType type) {
          GenericRecord record = new GenericData.Record(currentSchema);
          super.visitComplexType(type, new AvroComplexTypeChildHandler(record));
          resultObject = record;
      }
docs: -----------------------------------------------------------------------------