private void outputMemberInjections ( GinjectorBindings bindings , FragmentMap fragments , SourceWriteUtil sourceWriteUtil ) { NameGenerator nameGenerator = bindings . getNameGenerator ( ) ; for ( TypeLiteral < ? > type : bindings . getMemberInjectRequests ( ) ) { if ( ! reachabilityAnalyzer . isReachableMemberInject ( bindings , type ) ) { continue ; } List < InjectorMethod > memberInjectionHelpers = new ArrayList < InjectorMethod > ( ) ; try { sourceWriteUtil . createMemberInjection ( type , nameGenerator , memberInjectionHelpers ) ; outputMethods ( memberInjectionHelpers , fragments ) ; } catch ( NoSourceNameException e ) { errorManager . logError ( e . getMessage ( ) , e ) ; } } }
Adds member injections to each fragment .