protected void setTargetClass ( Class targetClass ) { this . targetClass = targetClass ; this . readAccessors . clear ( ) ; this . writeAccessors . clear ( ) ; introspectMethods ( targetClass , new HashSet ( ) ) ; if ( isFieldAccessEnabled ( ) ) { introspectFields ( targetClass , new HashSet ( ) ) ; } }
Clears all cached members and introspect methods again . If fieldAccess is enabled introspect fields as well .