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