Return the Slot that matches EITHER "key" or "index". (It will use "key" if it is not null, and otherwise "index".) If no slot exists, then create a default slot class. @param key The key for the slot, which should be a String or a Symbol. @param index if key is zero, then this will be used as the
(SlotMapOwner<T> owner, Object key, int index, int attributes)
| 46 | * @return a Slot, which will be created anew if no such slot exists. |
| 47 | */ |
| 48 | Slot<T> modify(SlotMapOwner<T> owner, Object key, int index, int attributes); |
| 49 | |
| 50 | /** |
| 51 | * Retrieve the slot at EITHER key or index, or return null if the slot cannot be found. |
no outgoing calls