public abstract class FieldVariableAccessor extends VariableAccessor
classId, DUMMY_ACCESSOR, index, name, realClass| Constructor and Description |
|---|
FieldVariableAccessor(RubyClass realClass,
String name,
int index,
int classId,
int offset)
Construct a new FieldVariableAccessor for the given "real" class,
variable name, variable index, class ID, and field offset
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOffset()
Get the field offset for this accessor.
|
get, getClassId, getIndex, getName, getVariable, setpublic FieldVariableAccessor(RubyClass realClass, String name, int index, int classId, int offset)
realClass - the "real" classname - the variable's nameindex - the variable's indexclassId - the class's IDCopyright © 2001–2024 JRuby. All rights reserved.