code: private ISMgr findInstanceStateManager(Object instance) {
  		Class<?> clazz = typeDescriptor.getReloadableType().getClazz();
  		try {
  			Field fieldAccessorField = clazz.getField(Constants.fInstanceFieldsName);
  			if (fieldAccessorField == null) {
  				throw new IllegalStateException("Cant find field accessor for type " + clazz.getName());
  			}
  			ISMgr stateManager = (ISMgr) fieldAccessorField.get(instance);
  			if (stateManager == null) {
  				// Looks to not have been initialized yet, this can happen if a non standard ctor was used.
  				// We could push this step into the generated ctors...
  				ISMgr instanceStateManager = new ISMgr(instance, typeDescriptor.getReloadableType());
  				fieldAccessorField.set(instance, instanceStateManager);
  				stateManager = (ISMgr) fieldAccessorField.get(instance);
  				// For some reason it didn't stick!
  				if (stateManager == null) {
  					throw new IllegalStateException("The class '" + clazz.getName()
  							+ "' has a null instance state manager object, instance is " + instance);
  				}
  			}
  			return stateManager;
  		}
  		catch (Exception e) {
  			throw new IllegalStateException("Unexpectedly unable to find instance state manager on class "
  					+ clazz.getName(), e);
  		}
  	}
docs: Discover the instance state manager for the specific object instance. Will fail by exception rather than
  returning null.
  
  @param instance the object instance on which to look
  @return the discovered state manager