sap . ui . define ( [ "sap/ui/base/ManagedObject" ] , function ( ManagedObject ) { const instance = new ManagedObject ( ) ; instance . attachValidationSuccess ( ( ) => { } , { } ) ; instance . addAggregation ( "bamba" , null , true ) ; } ) ;