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 ; }
For a given resolved type find the visible and accessible fields resolve the types of any generically typed fields and return the resolved fields .