/*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2010 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
package com.intellij.openapi.util;
-import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
-
+import org.jetbrains.annotations.NotNull;
public interface UserDataHolder {
- <T> T getUserData(@NotNull Key<T> key);
+ @Nullable <T> T getUserData(@NotNull Key<T> key);
<T> void putUserData(@NotNull Key<T> key, @Nullable T value);
}
\ No newline at end of file