org.codehaus.jackson.map.ObjectMapper mapper = new org.codehaus.jackson.map.ObjectMapper();
return mapper.readValue(mapper.writeValueAsString(original), original.getClass());
}
}.test();
}
<BUG>static abstract class PreserveOrder {
String annotationStyle;</BUG>
public PreserveOrder(String annotationStyle) {
this.annotationStyle = annotationStyle;
}

org.codehaus.jackson.map.ObjectMapper mapper = new org.codehaus.jackson.map.ObjectMapper();
return mapper.readValue(mapper.writeValueAsString(original), original.getClass());
}
}.test();
}
abstract class PreserveOrder {
String annotationStyle;
public PreserveOrder(String annotationStyle) {
this.annotationStyle = annotationStyle;
}
