private void resolveCurrentclassFieldDependencies ( final Object reference ) { for ( final FieldInjectionPoint injectionPoint : fieldInjectionPoints ) { final Object injection = beanManager . getInjectableReference ( injectionPoint ) ; final Field field = injectionPoint . getAnnotated ( ) . getJavaMember ( ) ; try { final Field declaredField = proxyClass . getDeclaredField ( field . getName ( ) ) ; if ( declaredField . isAnnotationPresent ( Inject . class ) ) { try { declaredField . set ( reference , injection ) ; } catch ( final Exception e ) { throw new RuntimeException ( e ) ; } } } catch ( final NoSuchFieldException ex ) { try { field . set ( reference , injection ) ; } catch ( final Exception e ) { throw new RuntimeException ( e ) ; } } } }
Resolves current class field dependencies for the specified reference .