ClassInfo getClassInfo ( Class < ? > effectiveType ) { ClassInfo classInfo = classes . get ( effectiveType ) ; if ( classInfo == null ) { throw new IllegalStateException ( "Tried to serialise class that wasn't present in bean on first pass: " + effectiveType . getName ( ) ) ; } return classInfo ; }
lookup the class info by type