| Access | Constructor and Description |
|---|---|
| public | RawFieldVariableAccessor(RubyClass
the "real" class realClass, boolean if the setter should unwrap ruby objects for java use use unwrapInSet, Class<?> the variable's java type toJava, Class<?> returnType, String the variable's name name, int the variable's index index, int the class's ID classId, MethodHandle the getter handle for the field getter, MethodHandle the setter handle for the field setter)Construct a new RawFieldVariableAccessor for the given "real" class, variable name, variable index, class ID, and field offset |
| Modifier and Type | Method and Description |
|---|---|
| protected static MethodHandle | |
| protected MethodHandle | |
| protected static MethodHandle | wrapSetter(MethodHandle setter, RubyClass realClass, boolean unwrap, Class<?> toJava, Class<?> basetype)
|
| RawFieldVariableAccessor | back to summary |
|---|---|
| public RawFieldVariableAccessor(RubyClass realClass, boolean unwrapInSet, Class<?> toJava, Class<?> returnType, String name, int index, int classId, MethodHandle getter, MethodHandle setter) Construct a new RawFieldVariableAccessor for the given "real" class, variable name, variable index, class ID, and field offset
| |
| wrapGetter | back to summary |
|---|---|
| protected static MethodHandle wrapGetter(MethodHandle getter, RubyClass realClass, Class<?> basetype) | |
| wrapSetter | back to summary |
|---|---|
| protected MethodHandle wrapSetter(MethodHandle setter) Overrides org.
| |
| wrapSetter | back to summary |
|---|---|
| protected static MethodHandle wrapSetter(MethodHandle setter, RubyClass realClass, boolean unwrap, Class<?> toJava, Class<?> basetype) | |