associates a reference instance to a class . the instance could actually be a subtype of the class for which it is set . concode_field_sep Logger LOGGER concode_elem_sep Map<Class<?>,Object> instances concode_field_sep void addInstance concode_elem_sep boolean canProvide concode_elem_sep T getInstance concode_elem_sep Constructor<T> getConstructor
void function ( final Class < T > arg0 , final T arg1 ) { if ( arg1 != null && getConstructor ( arg0 ) != null ) instances . put ( arg0 , arg1 ) ; }