* @return
*/
private T newInstance(final JSONMap map, final Map<String, Object> references) {
this.realTargetType = map.getClazzFromJSONFProp(this.clazz);
if (ClazzHelper.isInterfaceOrAbstract(this.realTargetType)) {
throw new JSONException("the type[" + this.realTargetType.getName()
+ "] is an interface or abstract class,that can't be instnaced.");
}
if (this.clazz == Object.class) {
Object target = new HashMap();
return (T) target;