/** * Set this variable into the given object using Unsafe to ensure * safe updating of the variable table. * * @param object the object into which to set this variable * @param value the variable's value */ public void set(Object object, Object value) { ((RubyBasicObject)object).ensureInstanceVariablesSettable(); setVariable((RubyBasicObject)object, realClass, index, value); }
/** * Set this variable into the given object using Unsafe to ensure * safe updating of the variable table. * * @param object the object into which to set this variable * @param value the variable's value */ public void set(Object object, Object value) { ((RubyBasicObject)object).ensureInstanceVariablesSettable(); setVariable((RubyBasicObject)object, realClass, index, value); }
/** * Set this variable into the given object using Unsafe to ensure * safe updating of the variable table. * * @param object the object into which to set this variable * @param value the variable's value */ public void set(Object object, Object value) { ((RubyBasicObject)object).ensureInstanceVariablesSettable(); setVariable((RubyBasicObject)object, realClass, index, value); }
/** * Set this variable into the given object using Unsafe to ensure * safe updating of the variable table. * * @param object the object into which to set this variable * @param value the variable's value */ public void set(Object object, Object value) { ((RubyBasicObject)object).ensureInstanceVariablesSettable(); setVariable((RubyBasicObject)object, realClass, index, value); }
/** * Static entry point for setting a variable in an object. * * @param realClass the "real" class of the object * @param self the object into which to set the variable * @param index the index allocated for the variable * @param value the value of the variable */ public static void setVariableInternal(RubyClass realClass, RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Virtual entry point for setting a variable into an object. * * @param self the object into which to set the value * @param index the index allocated for the value * @param value the value */ public void setVariableInternal(RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Set the given variable index into the specified object. The "real" class * and index are pass in to provide functional access. This version checks * if self has been frozen before proceeding to set the variable. * * @param self the object into which to set the variable * @param realClass the "real" class for the object * @param index the index of the variable * @param value the variable's value */ public static void setVariableChecked(RubyBasicObject self, RubyClass realClass, int index, Object value) { self.ensureInstanceVariablesSettable(); setVariable(self, realClass, index, value); }
/** * Virtual entry point for setting a variable into an object. * * @param self the object into which to set the value * @param index the index allocated for the value * @param value the value */ public void setVariableInternal(RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Virtual entry point for setting a variable into an object. * * @param self the object into which to set the value * @param index the index allocated for the value * @param value the value */ public void setVariableInternal(RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Set the given variable index into the specified object. The "real" class * and index are pass in to provide functional access. This version checks * if self has been frozen before proceeding to set the variable. * * @param self the object into which to set the variable * @param realClass the "real" class for the object * @param index the index of the variable * @param value the variable's value */ public static void setVariableChecked(RubyBasicObject self, RubyClass realClass, int index, Object value) { self.ensureInstanceVariablesSettable(); setVariable(self, realClass, index, value); }
/** * Virtual entry point for setting a variable into an object. * * @param self the object into which to set the value * @param index the index allocated for the value * @param value the value */ public void setVariableInternal(RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Set the given variable index into the specified object. The "real" class * and index are pass in to provide functional access. This version checks * if self has been frozen before proceeding to set the variable. * * @param self the object into which to set the variable * @param realClass the "real" class for the object * @param index the index of the variable * @param value the variable's value */ public static void setVariableChecked(RubyBasicObject self, RubyClass realClass, int index, Object value) { self.ensureInstanceVariablesSettable(); setVariable(self, realClass, index, value); }
/** * Set the given variable index into the specified object. The "real" class * and index are pass in to provide functional access. This version checks * if self has been frozen before proceeding to set the variable. * * @param self the object into which to set the variable * @param realClass the "real" class for the object * @param index the index of the variable * @param value the variable's value */ public static void setVariableChecked(RubyBasicObject self, RubyClass realClass, int index, Object value) { self.ensureInstanceVariablesSettable(); setVariable(self, realClass, index, value); }
/** * Static entry point for setting a variable in an object. * * @param realClass the "real" class of the object * @param self the object into which to set the variable * @param index the index allocated for the variable * @param value the value of the variable */ public static void setVariableInternal(RubyClass realClass, RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Static entry point for setting a variable in an object. * * @param realClass the "real" class of the object * @param self the object into which to set the variable * @param index the index allocated for the variable * @param value the value of the variable */ public static void setVariableInternal(RubyClass realClass, RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }
/** * Static entry point for setting a variable in an object. * * @param realClass the "real" class of the object * @param self the object into which to set the variable * @param index the index allocated for the variable * @param value the value of the variable */ public static void setVariableInternal(RubyClass realClass, RubyBasicObject self, int index, Object value) { if(UnsafeHolder.U == null) { SynchronizedVariableAccessor.setVariable(self,realClass,index,value); } else { StampedVariableAccessor.setVariable(self,realClass,index,value); } }