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);
   }
 }
Example #2
0
 @Override
 public Binder skipSources(@SuppressWarnings("rawtypes") Class... classesToSkip) {
   return binder.skipSources(classesToSkip);
 }