diff --git a/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java b/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java index 4066a8141789..565248fd379d 100644 --- a/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java +++ b/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/DataKey.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2016 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. @@ -69,6 +69,9 @@ public class DataKey { return myName.equals(dataId); } + /** + * @deprecated use {@link DataContext#getData(DataKey)} + */ @Nullable public T getData(@NotNull DataContext dataContext) { //noinspection unchecked