code: public Yaml ( BaseConstructor constructor , Representer representer , DumperOptions dumperOptions , Resolver resolver ) { if ( ! constructor . isExplicitPropertyUtils ( ) ) { constructor . setPropertyUtils ( representer . getPropertyUtils ( ) ) ; } else if ( ! representer . isExplicitPropertyUtils ( ) ) { representer . setPropertyUtils ( constructor . getPropertyUtils ( ) ) ; } this . constructor = constructor ; representer . setDefaultFlowStyle ( dumperOptions . getDefaultFlowStyle ( ) ) ; representer . setDefaultScalarStyle ( dumperOptions . getDefaultScalarStyle ( ) ) ; representer . getPropertyUtils ( ) . setAllowReadOnlyProperties ( dumperOptions . isAllowReadOnlyProperties ( ) ) ; representer . setTimeZone ( dumperOptions . getTimeZone ( ) ) ; this . representer = representer ; this . dumperOptions = dumperOptions ; this . resolver = resolver ; this . name = "Yaml:" + System . identityHashCode ( this ) ; }