Package com.nomagic.actions
Class ActionsMenuCreator.DisableLaterOnEnableListenerCache.CacheEntry
- java.lang.Object
-
- com.nomagic.actions.ActionsMenuCreator.DisableLaterOnEnableListenerCache.CacheEntry
-
- Enclosing class:
- ActionsMenuCreator.DisableLaterOnEnableListenerCache
private static class ActionsMenuCreator.DisableLaterOnEnableListenerCache.CacheEntry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ref.WeakReference<NMAction>
actionReference
private java.lang.ref.WeakReference<ActionsMenuCreator.DisableLaterOnEnableListener>
listenerReference
-
Constructor Summary
Constructors Constructor Description CacheEntry(NMAction action, ActionsMenuCreator.DisableLaterOnEnableListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ActionsMenuCreator.DisableLaterOnEnableListener
getListener()
private boolean
isSameAction(NMAction action)
-
-
-
Field Detail
-
actionReference
private final java.lang.ref.WeakReference<NMAction> actionReference
-
listenerReference
private final java.lang.ref.WeakReference<ActionsMenuCreator.DisableLaterOnEnableListener> listenerReference
-
-
Constructor Detail
-
CacheEntry
public CacheEntry(NMAction action, ActionsMenuCreator.DisableLaterOnEnableListener listener)
-
-
Method Detail
-
isSameAction
private boolean isSameAction(NMAction action)
-
getListener
@CheckForNull private ActionsMenuCreator.DisableLaterOnEnableListener getListener()
-
-