src/main/java/js/container/InstanceFieldsInjectionProcessor.java
@Override
	public void postProcessInstance(ManagedClassSPI managedClass, Object instance) {
		if (instance == null) {
			// null instance is silently ignored since container ensure not null instance argument
			return;
		}
		for (Field dependency : managedClass.getDependencies()) {
			if (dependency.isSynthetic()) {
				// it seems there can be injected fields, created via byte code manipulation, when run with test coverage active
				// not clear why and how but was consistently observed on mock object from unit test run with coverage
				continue;
			}
			Classes.setFieldValue(instance, dependency, getDependencyValue(managedClass, dependency.getType()));
		}
	}
@Override
	public void postProcessInstance(ManagedClassSPI managedClass, Object instance) {
		if (instance == null) {
			// null instance is silently ignored since container ensure not null instance argument
			return;
		}
		for (Field dependency : managedClass.getDependencies()) {
			if (dependency.isSynthetic()) {
				// it seems there can be injected fields, created via byte code manipulation, when run with test coverage active
				// not clear why and how but was consistently observed on mock object from unit test run with coverage
				continue;
			}
			Classes.setFieldValue(instance, dependency, getDependencyValue(managedClass, dependency.getType()));
		}
	}
@ Override public void postProcessInstance ( ManagedClassSPI managedClass , Object instance ) { if ( instance == null ) { // null instance is silently ignored since container ensure not null instance argument
 return ; } for ( Field dependency : managedClass . getDependencies ( ) ) { if ( dependency . isSynthetic ( ) ) { // it seems there can be injected fields, created via byte code manipulation, when run with test coverage active
 // not clear why and how but was consistently observed on mock object from unit test run with coverage
 continue ; } Classes . setFieldValue ( instance , dependency , getDependencyValue ( managedClass , dependency . getType ( ) ) ) ; } }
Inject dependencies described by given managed class into related managed instance. For every dependency field retrieve
its value using {@link DependencyProcessor#getDependencyValue(ManagedClassSPI, Class)} and inject it reflexively.

@param managedClass managed class,
@param instance instance of given managed class.
@throws BugError if a field dependency cannot be resolved.
Inject dependencies described by given managed class into related managed instance . For every dependency field retrieve its value using { @link DependencyProcessor#getDependencyValue ( ManagedClassSPI Class ) } and inject it reflexively .