public void customizeVueObserverPrototype ( VueObserver vueObserver ) { vueObserveArrayFunction = vueObserver . getObserveArray ( ) ; vueWalkFunction = vueObserver . getWalk ( ) ; vueObserver . setWalk ( toObserve -> { if ( observeJavaObject ( toObserve ) ) { return ; } vueWalkFunction . call ( this , toObserve ) ; } ) ; }
Customize the VueObserver instance . We get in between to be warned whenever an object is observed and observe it using our Java observers if necessary .