static synchronized Mutator mutatorFor ( Class < ? > type , Method method , Configuration configuration , String name ) { PropertyInfoKey key = new PropertyInfoKey ( type , name , configuration ) ; Mutator mutator = MUTATOR_CACHE . get ( key ) ; if ( mutator == null ) { mutator = new MethodMutator ( type , method , name ) ; MUTATOR_CACHE . put ( key , mutator ) ; } return mutator ; }
Returns a Mutator instance for the given mutator method . The method must be externally validated to ensure that it accepts one argument and returns void . class .