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