public void lazilyInject ( Object target , Field field ) { field . setAccessible ( true ) ; /** * We don't need to check for an * {@link com.github.msoliter.iroh.container.annotations.Autowired} * annotation because only those fields are capable of having a * reference to one of our local "null" references to begin with. * Directly checking if the object in the field and the null point to * the same location is sufficient for determining whether or not to * inject the field. */ if ( isNullified ( target , field ) ) { inject ( target , field ) ; } }
Lazily injects the target object s target field .