public < T > WithStaticFinder < T > withFinder ( Class < T > beanType ) { WithStaticFinder < T > withFinder = new WithStaticFinder <> ( beanType ) ; staticFinderReplacement . add ( withFinder ) ; return withFinder ; }
Create and return a WithStaticFinder . Expects a static finder field on the beanType class .