From 8470dbb9c2fbdb3d2e45fbe4ae9065e5334e6182 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 8 Oct 2018 09:44:13 +0200 Subject: [PATCH] make ApplicationComponent interface deprecation more clear --- .../intellij/openapi/components/ApplicationComponent.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/core-api/src/com/intellij/openapi/components/ApplicationComponent.java b/platform/core-api/src/com/intellij/openapi/components/ApplicationComponent.java index d36a671db321..05577f503984 100644 --- a/platform/core-api/src/com/intellij/openapi/components/ApplicationComponent.java +++ b/platform/core-api/src/com/intellij/openapi/components/ApplicationComponent.java @@ -2,7 +2,12 @@ package com.intellij.openapi.components; /** - * @deprecated Not used anymore. + * @deprecated This interface is not used anymore. Application component do no need to extend any special interface. + * + * Instead of {@link #initComponent()} please use {@link com.intellij.util.messages.MessageBus} and corresponding topics. + * Instead of {@link #disposeComponent()} please use {@link com.intellij.openapi.Disposable}. + * + * If for some reasons replacing {@link #disposeComponent()} / {@link #initComponent()} is not a option, {@link BaseComponent} can be extended. */ @Deprecated public interface ApplicationComponent extends BaseComponent {