org.jetbrains.kotlin.util.userDataHolder
Class UserDataHolderBase
java.lang.Object
org.jetbrains.kotlin.util.userDataHolder.UserDataHolderBase
- All Implemented Interfaces:
- com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, java.lang.Cloneable
public class UserDataHolderBase
- extends java.lang.Object
- implements com.intellij.openapi.util.UserDataHolderEx, java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYABLE_USER_MAP_KEY
public static final com.intellij.openapi.util.Key<KeyFMap> COPYABLE_USER_MAP_KEY
UserDataHolderBase
public UserDataHolderBase()
clone
protected java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getUserDataString
@TestOnly
public java.lang.String getUserDataString()
copyUserDataTo
public void copyUserDataTo(UserDataHolderBase other)
getUserData
public <T> T getUserData(@NotNull
com.intellij.openapi.util.Key<T> key)
- Specified by:
getUserData
in interface com.intellij.openapi.util.UserDataHolder
getUserMap
@NotNull
protected KeyFMap getUserMap()
putUserData
public <T> void putUserData(@NotNull
com.intellij.openapi.util.Key<T> key,
@Nullable
T value)
- Specified by:
putUserData
in interface com.intellij.openapi.util.UserDataHolder
changeUserMap
protected boolean changeUserMap(KeyFMap oldMap,
KeyFMap newMap)
getCopyableUserData
public <T> T getCopyableUserData(@NotNull
com.intellij.openapi.util.Key<T> key)
putCopyableUserData
public <T> void putCopyableUserData(@NotNull
com.intellij.openapi.util.Key<T> key,
T value)
replace
public <T> boolean replace(@NotNull
com.intellij.openapi.util.Key<T> key,
@Nullable
T oldValue,
@Nullable
T newValue)
- Specified by:
replace
in interface com.intellij.openapi.util.UserDataHolderEx
putUserDataIfAbsent
@NotNull
public <T> T putUserDataIfAbsent(@NotNull
com.intellij.openapi.util.Key<T> key,
@NotNull
T value)
- Specified by:
putUserDataIfAbsent
in interface com.intellij.openapi.util.UserDataHolderEx
copyCopyableDataTo
public void copyCopyableDataTo(@NotNull
UserDataHolderBase clone)
clearUserData
protected void clearUserData()
setUserMap
protected void setUserMap(@NotNull
KeyFMap map)
isUserDataEmpty
public boolean isUserDataEmpty()