question: private < T extends OddObject > boolean completeGetRelationshipFromCache ( @ NonNull String id , @ NonNull String relationshipName , @ NonNull OddCallback < ObjectWithRelated < T > > cb ) { T stored = ( T ) cache . getObject ( id ) ; if ( stored != null ) { List < Identifier > ids = stored . getIdentifiersByRelationship ( relationshipName ) ; if ( ids != null ) { List < OddObject > relatedList = new ArrayList < > ( ids . size ( ) ) ; for ( Identifier identifier : ids ) { OddObject related = cache . getObject ( identifier ) ; if ( related != null ) relatedList . add ( related ) ; else return false ; } cb . onSuccess ( new ObjectWithRelated < T > ( stored , relatedList ) ) ; return true ; } } return false ; }
target:  attempt to complete callback with data from cache