code: @Override
      protected void _to(ObjectOutput out) throws IOException {
          final int size = statementAnnotationPairsIndex.size();
          out.writeInt(size);
          for (Map.Entry<Integer, Set<AnnotationPair>> entry : statementAnnotationPairsIndex
                  .entrySet()) {
              out.writeInt(entry.getKey().intValue());
              final Set<AnnotationPair> annotationPairs = entry.getValue();
              final int annotationPairsSize = annotationPairs.size();
              out.writeInt(annotationPairsSize);
              for (AnnotationPair pair : annotationPairs) {
                  pair.writeExternal(out);
              }
          }
      }
docs: {@inheritDoc}