/** * Update object_id with the given value. * * @param self the object into which to set object_id * @param index the index allocated to store object_id * @param value the value of object_id */ private static void setObjectId(RubyClass realClass, RubyBasicObject self, int index, long value) { if (index < 0) return; setVariableInternal(realClass, self, index, value); }
/** * Update object_id with the given value. * * @param self the object into which to set object_id * @param index the index allocated to store object_id * @param value the value of object_id */ private static void setObjectId(RubyClass realClass, RubyBasicObject self, int index, long value) { if (index < 0) return; setVariableInternal(realClass, self, index, value); }
/** * Update object_id with the given value. * * @param self the object into which to set object_id * @param index the index allocated to store object_id * @param value the value of object_id */ private static void setObjectId(RubyClass realClass, RubyBasicObject self, int index, long value) { if (index < 0) return; setVariableInternal(realClass, self, index, value); }
/** * Update object_id with the given value. * * @param self the object into which to set object_id * @param index the index allocated to store object_id * @param value the value of object_id */ private static void setObjectId(RubyClass realClass, RubyBasicObject self, int index, long value) { if (index < 0) return; setVariableInternal(realClass, self, index, value); }
/** * Set the value for this variable in the given object. * * @param object the object into which to set this variable * @param value the value of the variable */ public void set(Object object, Object value) { ((RubyBasicObject)object).checkFrozen(); VariableTableManager.setVariableInternal(realClass, (RubyBasicObject)object, index, value); }
/** * Set the value for this variable in the given object. * * @param object the object into which to set this variable * @param value the value of the variable */ public void set(Object object, Object value) { ((RubyBasicObject)object).checkFrozen(); VariableTableManager.setVariableInternal(realClass, (RubyBasicObject)object, index, value); }
/** * Set the value for this variable in the given object. * * @param object the object into which to set this variable * @param value the value of the variable */ public void set(Object object, Object value) { ((RubyBasicObject)object).checkFrozen(); VariableTableManager.setVariableInternal(realClass, (RubyBasicObject)object, index, value); }
/** * Set the value for this variable in the given object. * * @param object the object into which to set this variable * @param value the value of the variable */ public void set(Object object, Object value) { ((RubyBasicObject)object).checkFrozen(); VariableTableManager.setVariableInternal(realClass, (RubyBasicObject)object, index, value); }
/** * Set the FFI handle for the given object. * * @param self the object * @param self the object's FFI handle */ public final void setFFIHandle(RubyBasicObject self, Object value) { int index = getFFIHandleAccessorForWrite().getIndex(); setVariableInternal(realClass, self, index, value); }
public void setVariable(int index, Object value) { ensureInstanceVariablesSettable(); if (index < 0) return; metaClass.getVariableTableManager().setVariableInternal(this, index, value); }
@Override public void setVariable(int index, Object value) { ensureInstanceVariablesSettable(); if (index < 0) return; metaClass.getVariableTableManager().setVariableInternal(this, index, value); }
/** * Set the FFI handle for the given object. * * @param self the object * @param self the object's FFI handle */ public final void setFFIHandle(RubyBasicObject self, Object value) { int index = getFFIHandleAccessorForWrite().getIndex(); setVariableInternal(realClass, self, index, value); }
@Override public void setVariable(int index, Object value) { ensureInstanceVariablesSettable(); if (index < 0) return; metaClass.getVariableTableManager().setVariableInternal(this, index, value); }
/** * Set the FFI handle for the given object. * * @param self the object * @param self the object's FFI handle */ public final void setFFIHandle(RubyBasicObject self, Object value) { int index = getFFIHandleAccessorForWrite().getIndex(); setVariableInternal(realClass, self, index, value); }
/** * Set the FFI handle for the given object. * * @param self the object * @param self the object's FFI handle */ public final void setFFIHandle(RubyBasicObject self, Object value) { int index = getFFIHandleAccessorForWrite().getIndex(); setVariableInternal(realClass, self, index, value); }
public void setVariable(int index, Object value) { ensureInstanceVariablesSettable(); if (index < 0) return; metaClass.getVariableTableManager().setVariableInternal(this, index, value); }
/** * Set the C ext handle for the given object. * * @param self the object * @param value the object's C ext handle */ public final void setNativeHandle(RubyBasicObject self, Object value) { int index = getNativeHandleAccessorForRead().getIndex(); if(index == -1) { return; } setVariableInternal(realClass, self, index, value); }
/** * Set the C ext handle for the given object. * * @param self the object * @param value the object's C ext handle */ public final void setNativeHandle(RubyBasicObject self, Object value) { int index = getNativeHandleAccessorForRead().getIndex(); if(index == -1) { return; } setVariableInternal(realClass, self, index, value); }