java.lang.Object
com.intellij.openapi.util.Key<T>
- Direct Known Subclasses:
KeyWithDefaultValue
Provides type-safe access to data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @NotNull Key<T>final booleanget(@Nullable UserDataHolder holder) get(@Nullable UserDataHolder holder, T defaultValue) final inthashCode()voidset(@Nullable UserDataHolder holder, T value) Returnstrueif and only if theholderhas not null value for the key.voidtoString()