Package org.mozilla.javascript
Class ScriptableObject.Slot
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject.Slot
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ScriptableObject.GetterSlot
- Enclosing class:
- ScriptableObject
static class ScriptableObject.Slot extends java.lang.Object implements java.io.Serializable
This is the object that is stored in the SlotMap. For historical reasons it remains inside this class. SlotMap references a number of members of this class directly.
-
-
Field Summary
Fields Modifier and Type Field Description private short
attributes
(package private) int
indexOrHash
(package private) java.lang.Object
name
(package private) ScriptableObject.Slot
next
(package private) ScriptableObject.Slot
orderedNext
private static long
serialVersionUID
(package private) java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description Slot(java.lang.Object name, int indexOrHash, int attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
getAttributes()
(package private) ScriptableObject
getPropertyDescriptor(Context cx, Scriptable scope)
(package private) java.lang.Object
getValue(Scriptable start)
private void
readObject(java.io.ObjectInputStream in)
(package private) void
setAttributes(int value)
(package private) boolean
setValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
name
java.lang.Object name
-
indexOrHash
int indexOrHash
-
attributes
private short attributes
-
value
java.lang.Object value
-
next
transient ScriptableObject.Slot next
-
orderedNext
transient ScriptableObject.Slot orderedNext
-
-
Method Detail
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
setValue
boolean setValue(java.lang.Object value, Scriptable owner, Scriptable start)
-
getValue
java.lang.Object getValue(Scriptable start)
-
getAttributes
int getAttributes()
-
setAttributes
void setAttributes(int value)
-
getPropertyDescriptor
ScriptableObject getPropertyDescriptor(Context cx, Scriptable scope)
-
-