示例#1
0
 public static TypeAdapter on(Fixture target, Class<?> type) {
   TypeAdapter a = adapterFor(type);
   a.init(target, type);
   return a;
 }
示例#2
0
 public void init(Fixture target, Class<?> type) {
   super.init(target, type);
   componentType = type.getComponentType();
   componentAdapter = on(target, componentType);
 }