Esempio n. 1
0
 public static void add(Binder binder, Class<?> first, Class<?>... rest) {
   binder = binder.skipSources(DynamicFinders.class);
   for (Class<?> type : Lists.asList(first, rest)) {
     checkTypeAndAnnotations(binder, type);
     bind(binder, type);
   }
 }
Esempio n. 2
0
 @Override
 public Binder skipSources(@SuppressWarnings("rawtypes") Class... classesToSkip) {
   return binder.skipSources(classesToSkip);
 }