@Override public T create() { try { Object instance = UNSAFE.allocateInstance(type.getRawType()); Reflections.visit(instance, type.getType(), new FieldInitializer()); return (T) instance; } catch (InstantiationException e) { throw Throwables.propagate(e); } } };
@Override public T create() { try { Object instance = UNSAFE.allocateInstance(type.getRawType()); Reflections.visit(instance, type.getType(), new FieldInitializer()); return (T) instance; } catch (InstantiationException e) { throw Throwables.propagate(e); } } };