예제 #1
0
 public Transform apply(
     Class<? extends Transformer> first,
     Class<? extends Transformer> second,
     Class<? extends Transformer> third) {
   apply(first);
   apply(second);
   apply(third);
   return this;
 }
예제 #2
0
 /*
  * invoking this one will create compiler warnings :(
  */
 public Transform apply(Class<? extends Transformer>... transformerTypes) {
   for (Class<? extends Transformer> transformerType : transformerTypes) {
     apply(transformerType);
   }
   return this;
 }