throws IllegalAccessException, InstantiationException{
if(Deserializer.class.isAssignableFrom(type)){
return (Deserializer)type.newInstance();
}
else if(PropertyEditor.class.isAssignableFrom(type)){
return new PropertyEditorDeserializer(type);
}
else{
throw mismatchType(type);
}
}