}
if ( EnumSet.class.isAssignableFrom( clazz ) ) {
return new EnumSetSerializer( this );
}
if ( EnumMap.class.isAssignableFrom( clazz ) ) {
return new EnumMapSerializer( this );
}
if ( SubListSerializer.canSerialize( clazz ) ) {
return new SubListSerializer( this, clazz );
}
if ( copyCollectionsForSerialization ) {