docs: ClassFields get(final Class<?> cls) {
          ClassFields classFields = classToClassFields.get(cls);
          if (classFields == null) {
              classToClassFields.put(cls,
                      classFields = new ClassFields(cls, resolveTypes, onlySerializePublicFields, this));
          }
          return classFields;
      }