question: @ SuppressWarnings ( "unchecked" ) private < T > T lookDependenciesAmongDependants ( final DependencyQuery < T > query ) { for ( int i = dependants . size ( ) - 1 ; i >= 0 ; i -- ) { final Object dependant = dependants . get ( i ) ; if ( query . isMatchingType ( dependant . getClass ( ) ) ) { dependants . remove ( dependant ) ; query . add ( ( T ) dependant ) ; return cache ( query . getDependencyType ( ) , dependant ) ; } } return null ; }
target:  Checks it the requested dependency is one of the cached dependent instances.