| Access | Constructor and Description |
|---|---|
| public | StampedVariableAccessor(RubyClass
the "real" class realClass, String the variable's name name, int the variable's index index, int the class's ID classId)Construct a new StampedVariableAccessor for the given "real" class, variable name, variable index, and class ID. |
| Modifier and Type | Method and Description |
|---|---|
| public void | set(Object
the object into which to set this variable object, Object the variable's value value)Overrides org. Set this variable into the given object using Unsafe to ensure safe updating of the variable table. |
| public static void | setVariableChecked(RubyBasicObject
the object into which to set the variable self, RubyClass the "real" class for the object realClass, int the index of the variable index, Object the variable's value value)Set the given variable index into the specified object. |
| StampedVariableAccessor | back to summary |
|---|---|
| public StampedVariableAccessor(RubyClass realClass, String name, int index, int classId) Construct a new StampedVariableAccessor for the given "real" class, variable name, variable index, and class ID. | |
| set | back to summary |
|---|---|
| public void set(Object object, Object value) Overrides org. Set this variable into the given object using Unsafe to ensure safe updating of the variable table. | |
| setVariableChecked | back to summary |
|---|---|
| public static void setVariableChecked(RubyBasicObject self, RubyClass realClass, int index, Object 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.
| |