File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
gson/src/main/java/com/google/gson Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -410,6 +410,10 @@ public <T> TypeAdapter<T> getAdapter(TypeToken<T> type) {
410
410
* System.out.println("Num JSON reads" + stats.numReads);
411
411
* System.out.println("Num JSON writes" + stats.numWrites);
412
412
* }</pre>
413
+ * Note that this call will skip all factories registered before {@code skipPast}. In case of
414
+ * multiple TypeAdapterFactories registered it is up to the caller of this function to insure
415
+ * that the order of registration does not prevent this method from reaching a factory they
416
+ * would expect to reply from this call.
413
417
* Note that since you can not override type adapter factories for String and Java primitive
414
418
* types, our stats factory will not count the number of String or primitives that will be
415
419
* read or written.
You can’t perform that action at this time.
0 commit comments