Searched refs:Bacon (Results 1 – 2 of 2) sorted by relevance
470 bind(Bacon.class).to(UncookedBacon.class); in testTurkeyBaconProblemUsingToConstuctor()471 bind(Bacon.class).annotatedWith(named("Turkey")).to(TurkeyBacon.class); in testTurkeyBaconProblemUsingToConstuctor()472 bind(Bacon.class).annotatedWith(named("Cooked")).toConstructor( in testTurkeyBaconProblemUsingToConstuctor()473 (Constructor)InjectionPoint.forConstructorOf(Bacon.class).getMember()); in testTurkeyBaconProblemUsingToConstuctor()476 Bacon bacon = injector.getInstance(Bacon.class); in testTurkeyBaconProblemUsingToConstuctor()480 Bacon turkeyBacon = injector.getInstance(Key.get(Bacon.class, named("Turkey"))); in testTurkeyBaconProblemUsingToConstuctor()484 Bacon cookedBacon = injector.getInstance(Key.get(Bacon.class, named("Cooked"))); in testTurkeyBaconProblemUsingToConstuctor()491 private static class Bacon { class in BindingTest496 private static class TurkeyBacon extends Bacon {500 private static class UncookedBacon extends Bacon {
296 Bacon, Francis297 Bacon, Henry298 Bacon, John Henry F.299 Bacon, Peggy300 Bacon, Sir Nathaniel