creates the oleautomation instance with idispatch parameter using reflection . concode_field_sep PlaceHolder placeHolder concode_field_sep Image makeShot concode_elem_sep void setFieldObjectValue concode_elem_sep void setFieldObjectValue concode_elem_sep int newGlobalRefInt concode_elem_sep Object objFromGlobalRefInt concode_elem_sep T getFieldObjectValue concode_elem_sep Object getFieldObjectValue concode_elem_sep void ensureProxyBypassLocal concode_elem_sep Variant win32_new concode_elem_sep Object _objFromGlobalRefInt concode_elem_sep void win32_copy concode_elem_sep void _ensureProxyBypassLocal concode_elem_sep void _deleteGlobalRefInt concode_elem_sep int _newGlobalRefInt concode_elem_sep void deleteGlobalRefInt
OleAutomation function ( IDispatch arg0 ) { try { Constructor < OleAutomation > loc0 = OleAutomation . class . getDeclaredConstructor ( new Class [ ] { IDispatch . class } ) ; loc0 . setAccessible ( true ) ; return loc0 . newInstance ( new Object [ ] { arg0 } ) ; } catch ( Throwable loc0 ) { throw new RuntimeException ( loc0 ) ; } }