Added javadoc comment to transferStackInSlot method.