public Object getObject ( final JsiiObjectRef objRef ) { Object obj = this . objects . get ( objRef . getObjId ( ) ) ; if ( obj == null ) { throw new JsiiException ( "Cannot find jsii object: " + objRef . getObjId ( ) ) ; } return obj ; }
Gets an object by reference . Throws if the object cannot be found .