Package org.mozilla.javascript
Class AccessorSlot.MemberBoxSetter
- java.lang.Object
-
- org.mozilla.javascript.AccessorSlot.MemberBoxSetter
-
- All Implemented Interfaces:
AccessorSlot.Setter
- Enclosing class:
- AccessorSlot
static final class AccessorSlot.MemberBoxSetter extends java.lang.Object implements AccessorSlot.Setter
Invoke the setter on this slot via reflection using MemberBox.
-
-
Constructor Summary
Constructors Constructor Description MemberBoxSetter(MemberBox member)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function
asSetterFunction(java.lang.String name, Scriptable scope)
boolean
setValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
-
-
Field Detail
-
member
final MemberBox member
-
-
Constructor Detail
-
MemberBoxSetter
MemberBoxSetter(MemberBox member)
-
-
Method Detail
-
setValue
public boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)
- Specified by:
setValue
in interfaceAccessorSlot.Setter
-
asSetterFunction
public Function asSetterFunction(java.lang.String name, Scriptable scope)
- Specified by:
asSetterFunction
in interfaceAccessorSlot.Setter
-
-