private void bindImperative(Verb verb) { bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonMasculineName())) .to(ImperativeSecondPersonMasculineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonFeminineName())) .to(ImperativeSecondPersonFeminineTransformer.class); }
private void bindForbidding(Verb verb) { bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonMasculineName())) .to(ForbiddingSecondPersonMasculineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonFeminineName())) .to(ForbiddingSecondPersonFeminineTransformer.class); }
private void bindPresentTense(Verb verb) { bind(VerbTransformer.class) .annotatedWith(named(verb.getThirdPersonMasculineName())) .to(PresentTenseThirdPersonMasculineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getThirdPersonFeminineName())) .to(PresentTenseThirdPersonFeminineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonMasculineName())) .to(PresentTenseSecondPersonMasculineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getSecondPersonFeminineName())) .to(PresentTenseSecondPersonFeminineTransformer.class); bind(VerbTransformer.class) .annotatedWith(named(verb.getFirstPersonName())) .to(PresentTenseFirstPersonTransformer.class); }