Class 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.
    • Constructor Detail

      • Slot

        Slot​(java.lang.Object name,
             int indexOrHash,
             int attributes)
    • Method Detail

      • readObject

        private void readObject​(java.io.ObjectInputStream in)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • getValue

        java.lang.Object getValue​(Scriptable start)
      • getAttributes

        int getAttributes()
      • setAttributes

        void setAttributes​(int value)