private void sealObject ( ScriptableObject obj ) { obj . sealObject ( ) ; Object [ ] ids = obj . getIds ( ) ; for ( Object id : ids ) { Object child = obj . get ( id ) ; if ( child instanceof ScriptableObject ) { sealObject ( ( ScriptableObject ) child ) ; } } }
Recursively seals the specified object and all the objects it contains .