private static Map<StubIndexKey, Map<Object, int[]>> getStubTree(
     @NotNull final Map<Integer, SerializedStubTree> data) {
   final Map<StubIndexKey, Map<Object, int[]>> stubTree;
   if (!data.isEmpty()) {
     final SerializedStubTree stub = data.values().iterator().next();
     stubTree = new StubTree((PsiFileStub) stub.getStub(true), false).indexStubTree();
   } else {
     stubTree = Collections.emptyMap();
   }
   return stubTree;
 }
 @Override
 public void save(final DataOutput out, @NotNull final SerializedStubTree v)
     throws IOException {
   v.write(out);
 }