private void addClassInfoAndIncrementCount ( Class < ? > type , ClassInfo classInfo ) { classes . putIfAbsent ( type , classInfo ) ; classSerializationCount . compute ( type , BeanReferences :: incrementOrOne ) ; }
adds the class incrementing the number of times it is used