private void setField ( Field field , String parameterName , Object instance ) { final Object value = context . getProperty ( parameterName , field . getType ( ) ) ; try { field . set ( instance , value ) ; } catch ( Exception e ) { throw new BugError ( e ) ; } }
Initialize field from named context parameter .