added missing @Deprecated to find these places later
authorAlexey Kudravtsev <cdr@intellij.com>
Sun, 17 Jun 2018 14:19:23 +0000 (17:19 +0300)
committerAlexey Kudravtsev <cdr@intellij.com>
Mon, 18 Jun 2018 10:24:28 +0000 (13:24 +0300)
255 files changed:
java/compiler/impl/src/com/intellij/compiler/impl/BuildTargetScopeProvider.java
java/compiler/impl/src/com/intellij/openapi/compiler/generic/GenericCompiler.java
java/compiler/impl/src/com/intellij/task/impl/ArtifactBuildTaskImpl.java
java/compiler/javac2/src/com/intellij/uiDesigner/ant/Javac2.java
java/compiler/openapi/src/com/intellij/openapi/compiler/ClassInstrumentingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/ClassPostProcessingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/CompilationStatusAdapter.java
java/compiler/openapi/src/com/intellij/openapi/compiler/CompilerFilter.java
java/compiler/openapi/src/com/intellij/openapi/compiler/GeneratingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/IntermediateOutputCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/JavaSourceTransformingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/PackagingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/SourceGeneratingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/TranslatingCompiler.java
java/compiler/openapi/src/com/intellij/openapi/compiler/util/InspectionValidator.java
java/compiler/openapi/src/com/intellij/task/ArtifactBuildTask.java
java/debugger/impl/src/com/intellij/debugger/jdi/JdiProxy.java
java/execution/impl/src/com/intellij/compiler/options/CompileStepBeforeRun.java
java/execution/impl/src/com/intellij/execution/ui/AlternativeJREPanel.java
java/execution/impl/src/com/intellij/execution/ui/ConfigurationModuleSelector.java
java/execution/openapi/src/com/intellij/execution/JUnitPatcher.java
java/execution/openapi/src/com/intellij/execution/configurations/CommandLineBuilder.java
java/execution/openapi/src/com/intellij/execution/configurations/JavaParameters.java
java/execution/openapi/src/com/intellij/execution/process/DefaultJavaProcessHandler.java
java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java
java/idea-ui/src/com/intellij/framework/library/UnderlyingFrameworkSupportProviderBase.java
java/idea-ui/src/com/intellij/ide/util/projectWizard/ProjectJdkListRenderer.java
java/java-analysis-api/src/com/intellij/codeInspection/BaseJavaLocalInspectionTool.java
java/java-analysis-impl/src/com/intellij/codeInspection/compiler/RemoveElementQuickFix.java
java/java-impl/src/com/intellij/codeInsight/daemon/impl/MarkerType.java
java/java-impl/src/com/intellij/codeInsight/template/postfix/templates/ForIndexedPostfixTemplate.java
java/java-impl/src/com/intellij/openapi/roots/JavaProjectModelModifier.java
java/java-impl/src/com/intellij/psi/impl/source/resolve/reference/impl/providers/JavaClassReference.java
java/java-impl/src/com/intellij/psi/impl/source/resolve/reference/impl/providers/JavaClassReferenceProvider.java
java/java-impl/src/com/intellij/refactoring/changeSignature/OverriderUsageInfo.java
java/java-psi-api/src/com/intellij/codeInsight/NullableNotNullManager.java
java/java-psi-api/src/com/intellij/pom/java/LanguageLevel.java
java/java-psi-api/src/com/intellij/psi/JVMElementFactory.java
java/java-psi-api/src/com/intellij/psi/JavaPsiFacade.java
java/java-psi-api/src/com/intellij/psi/PsiMethod.java
java/java-psi-api/src/com/intellij/psi/PsiPrimitiveType.java
java/java-psi-api/src/com/intellij/psi/PsiResourceList.java
java/java-psi-api/src/com/intellij/psi/PsiType.java
java/java-psi-api/src/com/intellij/psi/PsiWildcardType.java
java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/PsiClassStub.java
java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/PsiJavaFileStub.java
java/java-structure-view/src/com/intellij/ide/structureView/impl/AddAllMembersProcessor.java
jetCheck/src/org/jetbrains/jetCheck/PropertyChecker.java
jps/jps-builders/src/org/jetbrains/jps/builders/BuildRootDescriptor.java
jps/jps-builders/src/org/jetbrains/jps/incremental/CompileContext.java
jps/jps-builders/src/org/jetbrains/jps/incremental/FSOperations.java
jps/jps-builders/src/org/jetbrains/jps/incremental/ModuleLevelBuilder.java
jps/jps-builders/src/org/jetbrains/jps/incremental/artifacts/instructions/ArtifactInstructionsBuilder.java
jps/jps-builders/src/org/jetbrains/jps/incremental/artifacts/instructions/ArtifactRootCopyingHandlerProvider.java
jps/jps-builders/src/org/jetbrains/jps/incremental/messages/CompilerMessage.java
jps/model-api/src/org/jetbrains/jps/model/java/JavaSourceRootProperties.java
jps/model-api/src/org/jetbrains/jps/model/java/JdkVersionDetector.java
jps/model-api/src/org/jetbrains/jps/model/java/LanguageLevel.java
jps/model-serialization/src/org/jetbrains/jps/model/serialization/JpsGlobalLoader.java
jps/model-serialization/src/org/jetbrains/jps/model/serialization/JpsModelSerializationDataService.java
jps/model-serialization/src/org/jetbrains/jps/model/serialization/JpsPathVariablesConfiguration.java
jps/standalone-builder/src/org/jetbrains/jps/gant/BuildInfoPrinter.java
jps/standalone-builder/src/org/jetbrains/jps/gant/JpsGantProjectBuilder.java
platform/analysis-api/src/com/intellij/codeInsight/daemon/DaemonCodeAnalyzer.java
platform/analysis-api/src/com/intellij/problems/WolfTheProblemSolver.java
platform/analysis-impl/src/com/intellij/codeHighlighting/TextEditorHighlightingPassRegistrar.java
platform/analysis-impl/src/com/intellij/codeInsight/daemon/Validator.java
platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/HighlightInfoType.java
platform/analysis-impl/src/com/intellij/profile/codeInspection/InspectionProjectProfileManager.java
platform/core-api/src/com/intellij/ide/plugins/IdeaPluginDescriptor.java
platform/core-api/src/com/intellij/openapi/application/ApplicationInfo.java
platform/core-api/src/com/intellij/openapi/application/BaseActionRunnable.java
platform/core-api/src/com/intellij/openapi/command/CommandProcessor.java
platform/core-api/src/com/intellij/openapi/components/ComponentManager.java
platform/core-api/src/com/intellij/openapi/editor/colors/CodeInsightColors.java
platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java
platform/core-api/src/com/intellij/openapi/progress/ProgressManager.java
platform/core-api/src/com/intellij/openapi/project/DumbModeAction.java
platform/core-api/src/com/intellij/openapi/vfs/LocalFileProvider.java
platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java
platform/core-api/src/com/intellij/openapi/vfs/VfsUtilCore.java
platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java
platform/core-api/src/com/intellij/openapi/vfs/VirtualFileAdapter.java
platform/core-api/src/com/intellij/openapi/vfs/newvfs/BulkFileListener.java
platform/core-api/src/com/intellij/psi/PsiElement.java
platform/core-api/src/com/intellij/psi/SmartPointerManager.java
platform/core-api/src/com/intellij/psi/codeStyle/CodeStyleManager.java
platform/core-api/src/com/intellij/psi/codeStyle/Indent.java
platform/core-api/src/com/intellij/psi/meta/MetaDataRegistrar.java
platform/core-api/src/com/intellij/psi/search/GlobalSearchScope.java
platform/core-api/src/com/intellij/psi/util/PsiUtilCore.java
platform/core-api/src/com/intellij/usageView/UsageInfo.java
platform/core-impl/src/com/intellij/ide/plugins/IdeaPluginDescriptorImpl.java
platform/core-impl/src/com/intellij/psi/filters/OrFilter.java
platform/core-impl/src/com/intellij/psi/impl/AbstractModificationTracker.java
platform/core-impl/src/com/intellij/psi/impl/meta/MetaRegistry.java
platform/editor-ui-api/src/com/intellij/ide/DataManager.java
platform/editor-ui-api/src/com/intellij/ide/projectView/PresentationData.java
platform/editor-ui-api/src/com/intellij/ide/util/treeView/AbstractTreeNode.java
platform/editor-ui-api/src/com/intellij/openapi/editor/EditorFactory.java
platform/editor-ui-api/src/com/intellij/openapi/editor/LogicalPosition.java
platform/editor-ui-api/src/com/intellij/openapi/editor/SyntaxHighlighterColors.java
platform/editor-ui-api/src/com/intellij/openapi/fileTypes/SyntaxHighlighter.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/execution/ExternalSystemExecutionConsoleManager.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/model/project/ModuleData.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListener.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/model/task/ExternalSystemTaskNotificationListenerAdapter.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/service/ParametersEnhancer.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/task/AbstractExternalSystemTaskManager.java
platform/external-system-api/src/com/intellij/openapi/externalSystem/task/ExternalSystemTaskManager.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/internal/ExternalSystemExecuteTaskTask.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/notification/ExternalSystemNotificationManager.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ProjectDataManager.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/wizard/AbstractExternalProjectImportBuilder.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/remote/RemoteExternalSystemTaskManager.java
platform/indexing-api/src/com/intellij/psi/SdkResolveScopeProvider.java
platform/indexing-api/src/com/intellij/psi/search/PsiSearchHelper.java
platform/indexing-api/src/com/intellij/psi/stubs/StubIndex.java
platform/lang-api/src/com/intellij/psi/codeStyle/CodeStyleSettings.java
platform/lang-impl/src/com/intellij/codeInsight/CodeInsightSettings.java
platform/lang-impl/src/com/intellij/codeInsight/completion/CompletionData.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/PsiElementListNavigator.java
platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/actions/AbstractSuppressByNoInspectionCommentFix.java
platform/lang-impl/src/com/intellij/codeInsight/hint/ShowParameterInfoHandler.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/DeferredUserLookupValue.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/LookupItem.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/LookupValueWithUIHint.java
platform/lang-impl/src/com/intellij/codeInsight/lookup/PresentableLookupValue.java
platform/lang-impl/src/com/intellij/codeInsight/navigation/BackgroundUpdaterTask.java
platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoTargetHandler.java
platform/lang-impl/src/com/intellij/codeInsight/navigation/ListBackgroundUpdaterTask.java
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateOptionalProcessor.java
platform/lang-impl/src/com/intellij/codeInsight/template/impl/TemplateState.java
platform/lang-impl/src/com/intellij/codeInsight/template/postfix/settings/PostfixTemplatesSettings.java
platform/lang-impl/src/com/intellij/codeInsight/template/postfix/templates/PostfixTemplate.java
platform/lang-impl/src/com/intellij/codeInsight/template/postfix/templates/PostfixTemplateWithExpressionSelector.java
platform/lang-impl/src/com/intellij/codeInsight/template/postfix/templates/StringBasedPostfixTemplate.java
platform/lang-impl/src/com/intellij/execution/filters/FileHyperlinkParsedData.java
platform/lang-impl/src/com/intellij/execution/runners/RerunTestsAction.java
platform/lang-impl/src/com/intellij/find/findUsages/FindUsagesHandler.java
platform/lang-impl/src/com/intellij/ide/hierarchy/HierarchyBrowserBaseEx.java
platform/lang-impl/src/com/intellij/ide/impl/SelectInTargetPsiWrapper.java
platform/lang-impl/src/com/intellij/ide/util/PsiElementListCellRenderer.java
platform/lang-impl/src/com/intellij/openapi/file/exclude/EnforcedPlainTextFileTypeFactory.java
platform/lang-impl/src/com/intellij/openapi/roots/libraries/ui/FileTypeBasedRootFilter.java
platform/lang-impl/src/com/intellij/psi/filters/FalseFilter.java
platform/lang-impl/src/com/intellij/psi/filters/position/LeftNeighbour.java
platform/lang-impl/src/com/intellij/psi/impl/source/resolve/reference/PsiReferenceProviderBase.java
platform/lang-impl/src/com/intellij/psi/impl/source/tree/injected/MultiHostRegistrarImpl.java
platform/lang-impl/src/com/intellij/refactoring/ui/VisibilityPanelBase.java
platform/lang-impl/src/com/intellij/testIntegration/TestLocationProvider.java
platform/lang-impl/src/com/intellij/ui/JBTreeWithHintProvider.java
platform/platform-impl/src/com/intellij/diagnostic/AbstractMessage.java
platform/platform-impl/src/com/intellij/diagnostic/IdeMessagePanel.java
platform/platform-impl/src/com/intellij/diagnostic/LogEventException.java
platform/platform-impl/src/com/intellij/diagnostic/LogMessage.java
platform/platform-impl/src/com/intellij/diagnostic/LogMessageEx.java
platform/platform-impl/src/com/intellij/diagnostic/VMOptions.java
platform/platform-impl/src/com/intellij/errorreport/bean/ErrorBean.java
platform/platform-impl/src/com/intellij/execution/process/ColoredProcessHandler.java
platform/platform-impl/src/com/intellij/execution/process/KillableColoredProcessHandler.java
platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java
platform/platform-impl/src/com/intellij/execution/process/RunnerWinProcess.java
platform/platform-impl/src/com/intellij/externalDependencies/DependencyOnPlugin.java
platform/platform-impl/src/com/intellij/ide/IdeEventQueue.java
platform/platform-impl/src/com/intellij/ide/plugins/PluginManagerMain.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/ComplementaryFontsRegistry.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/FontInfo.java
platform/platform-impl/src/com/intellij/openapi/editor/impl/LeftHandScrollbarLayout.java
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorTabbedContainer.java
platform/platform-impl/src/com/intellij/openapi/fileTypes/ex/FileTypeManagerEx.java
platform/platform-impl/src/com/intellij/openapi/progress/util/ProgressWindowWithNotification.java
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettings.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/ToolWindowHeader.java
platform/platform-impl/src/com/intellij/platform/DirectoryProjectGenerator.java
platform/platform-impl/src/com/intellij/platform/PlatformProjectOpenProcessor.java
platform/platform-impl/src/com/intellij/remote/RemoteSdkCredentialsProducer.java
platform/platform-impl/src/com/intellij/ui/ListSpeedSearch.java
platform/platform-impl/src/com/intellij/ui/SideBorder2.java
platform/platform-impl/src/com/intellij/ui/TabbedPaneWrapper.java
platform/platform-impl/src/com/intellij/ui/TableToolTipHandler.java
platform/platform-impl/src/com/intellij/ui/content/tabs/PinToolwindowTabAction.java
platform/platform-impl/src/com/intellij/util/JdkBundle.java
platform/platform-impl/src/com/intellij/util/JdkBundleList.java
platform/projectModel-api/src/com/intellij/openapi/components/StateSplitter.java
platform/projectModel-api/src/com/intellij/openapi/project/ModuleAdapter.java
platform/projectModel-api/src/com/intellij/openapi/project/ProjectManagerListener.java
platform/projectModel-api/src/com/intellij/openapi/projectRoots/ProjectJdkTable.java
platform/projectModel-api/src/com/intellij/openapi/roots/ModuleRootAdapter.java
platform/projectModel-api/src/com/intellij/openapi/roots/OrderEnumerationHandler.java
platform/projectModel-impl/src/com/intellij/openapi/roots/AdditionalLibraryRootsProvider.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/DirectoryInfo.java
platform/remote-servers/api/src/com/intellij/remoteServer/ServerType.java
platform/remote-servers/api/src/com/intellij/remoteServer/runtime/clientLibrary/ClientLibraryManager.java
platform/remote-servers/api/src/com/intellij/remoteServer/runtime/deployment/ServerRuntimeInstance.java
platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ProcessOutputConsumer.java
platform/smRunner/src/com/intellij/execution/testframework/sm/runner/SMTestProxy.java
platform/smRunner/src/com/intellij/execution/testframework/sm/runner/events/TestFailedEvent.java
platform/smRunner/src/com/intellij/execution/testframework/sm/runner/ui/SMTRunnerConsoleView.java
platform/tasks-platform-api/src/com/intellij/tasks/TaskRepository.java
platform/usageView/src/com/intellij/usages/UsageView.java
platform/usageView/src/com/intellij/usages/rules/OrderableUsageGroupingRule.java
platform/usageView/src/com/intellij/usages/rules/SingleParentUsageGroupingRule.java
platform/usageView/src/com/intellij/usages/rules/UsageFilteringRule.java
platform/usageView/src/com/intellij/usages/rules/UsageGroupingRule.java
platform/vcs-api/vcs-api-core/src/com/intellij/vcsUtil/Rethrow.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/RepositoryChangesBrowser.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesBrowser.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesTree.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/OldChangesBrowserBase.java
platform/xdebugger-api/src/com/intellij/xdebugger/XDebugSession.java
platform/xdebugger-api/src/com/intellij/xdebugger/breakpoints/XBreakpointType.java
platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueNode.java
platform/xdebugger-impl/src/com/intellij/xdebugger/attach/XAttachPresentationGroup.java
platform/xdebugger-impl/src/com/intellij/xdebugger/attach/XDefaultLocalAttachGroup.java
platform/xdebugger-impl/src/com/intellij/xdebugger/attach/XLocalAttachDebuggerProvider.java
platform/xdebugger-impl/src/com/intellij/xdebugger/attach/XLocalAttachGroup.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/WatchNode.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/tree/nodes/WatchesRootNode.java
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/fixes/EqualityToEqualsFix.java
plugins/git4idea/src/git4idea/validators/GitBranchNameValidator.java
plugins/gradle/java/src/frameworkSupport/GradleFrameworkSupportProvider.java
plugins/gradle/java/src/service/project/wizard/GradleProjectImportBuilder.java
plugins/gradle/src/org/jetbrains/plugins/gradle/frameworkSupport/BuildScriptDataBuilder.java
plugins/gradle/src/org/jetbrains/plugins/gradle/model/data/ScalaCompileOptionsData.java
plugins/gradle/src/org/jetbrains/plugins/gradle/service/execution/GradleExecutionHelper.java
plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/AbstractProjectImportErrorHandler.java
plugins/gradle/src/org/jetbrains/plugins/gradle/service/task/GradleTaskManagerExtension.java
plugins/gradle/src/org/jetbrains/plugins/gradle/settings/GradleExecutionSettings.java
plugins/gradle/tooling-extension-api/src/org/jetbrains/plugins/gradle/model/ExtIdeaCompilerOutput.java
plugins/gradle/tooling-extension-api/src/org/jetbrains/plugins/gradle/model/ExternalSourceDirectorySet.java
plugins/gradle/tooling-extension-api/src/org/jetbrains/plugins/gradle/model/scala/ScalaCompileOptions.java
plugins/gradle/tooling-extension-impl/src/org/jetbrains/plugins/gradle/tooling/builder/ModuleExtendedModelBuilderImpl.java
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/typeEnhancers/GrExpressionTypeCalculator.java
plugins/java-decompiler/engine/src/org/jetbrains/java/decompiler/main/decompiler/BaseDecompiler.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/execution/MavenRunnerParameters.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/importing/MavenImporter.java
plugins/properties/properties-psi-api/src/com/intellij/lang/properties/psi/PropertiesFile.java
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/context/ContextType.java
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/psi/XsltElementFactory.java
plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/ui/ModeSwitchableDialog.java
python/psi-api/src/com/jetbrains/python/psi/PyElementGenerator.java
python/src/com/jetbrains/python/remote/PySkeletonsPathAware.java
spellchecker/src/com/intellij/spellchecker/SpellCheckerManager.java
spellchecker/src/com/intellij/spellchecker/dictionary/AggregatedDictionary.java
spellchecker/src/com/intellij/spellchecker/tokenizer/SpellcheckingStrategy.java
spellchecker/src/com/intellij/spellchecker/ui/SpellCheckingEditorCustomization.java
xml/dom-openapi/src/com/intellij/patterns/DomPatterns.java
xml/dom-openapi/src/com/intellij/util/xml/ConverterManager.java
xml/dom-openapi/src/com/intellij/util/xml/DomFileDescription.java
xml/dom-openapi/src/com/intellij/util/xml/DomIconProvider.java
xml/dom-openapi/src/com/intellij/util/xml/DomManager.java
xml/dom-openapi/src/com/intellij/util/xml/ElementPresentationManager.java
xml/dom-openapi/src/com/intellij/util/xml/Implementation.java
xml/dom-openapi/src/com/intellij/util/xml/ModuleContentRootSearchScope.java

index 556e86b9439ba9481368f33bc4496bbd9250b5ef..135bba27a628500332447519dc5af963991037c7 100644 (file)
@@ -37,6 +37,7 @@ public abstract class BuildTargetScopeProvider {
   /**
    * @deprecated override {@link #getBuildTargetScopes(CompileScope, Project, boolean)} instead
    */
+  @Deprecated
   @SuppressWarnings("DeprecatedIsStillUsed")
   @NotNull
   public List<TargetTypeBuildScope> getBuildTargetScopes(@NotNull CompileScope baseScope, @NotNull CompilerFilter filter,
@@ -47,6 +48,7 @@ public abstract class BuildTargetScopeProvider {
   /**
    * @deprecated override {@link #getBuildTargetScopes(CompileScope, Project, boolean)} instead
    */
+  @Deprecated
   @SuppressWarnings("DeprecatedIsStillUsed")
   @NotNull
   public List<TargetTypeBuildScope> getBuildTargetScopes(@NotNull CompileScope baseScope, @NotNull CompilerFilter filter,
index 93b1604d87576ef1956a1248a87c9160ec835ad2..e2eef0a8fb62edad6e57a420b090ffd344a002f1 100644 (file)
@@ -30,6 +30,7 @@ import org.jetbrains.annotations.NotNull;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public abstract class GenericCompiler<Key, SourceState, OutputState> implements Compiler {
   protected static final KeyDescriptor<String> STRING_KEY_DESCRIPTOR = EnumeratorStringDescriptor.INSTANCE;
   private final String myId;
index 2a95666750aa752b327fe829fb8dbb346debf27a..3e19572e945ddf767fea673ee83144a4afc1dbdf 100644 (file)
@@ -26,6 +26,7 @@ import org.jetbrains.annotations.NotNull;
  * @author Vladislav.Soroka
  * @since 5/14/2016
  */
+@Deprecated
 public class ArtifactBuildTaskImpl extends AbstractBuildTask implements ArtifactBuildTask {
   private final Artifact myArtifact;
 
index 7117dd50e19817b886d4dd49891880be48a45d4d..2ae6242bd95dc5908841fcc258b881a2a79cced4 100644 (file)
@@ -20,5 +20,6 @@ package com.intellij.uiDesigner.ant;
  * @noinspection ClassNameSameAsAncestorName
  * @deprecated
  */
+@Deprecated
 public class Javac2 extends com.intellij.ant.Javac2 {
 }
index 71d924aada85ce847a492511bc1258666ab9c7de..f165c3857f6b213e30fab82a87db20e2a6ebacc5 100644 (file)
@@ -26,5 +26,6 @@ package com.intellij.openapi.compiler;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface ClassInstrumentingCompiler extends FileProcessingCompiler {
 }
index 07d3d6ce75b0a267605e18dd8fc68df751032539..c83045345a8e060bd1be4d0ed5caab19014f1b78 100644 (file)
@@ -26,5 +26,6 @@ package com.intellij.openapi.compiler;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface ClassPostProcessingCompiler extends FileProcessingCompiler {
 }
index be0bef743fa14f7c990d44b0d47bfc97306d3d91..85984b3d8271c0799baf8d9f2394e2dcdd21218a 100644 (file)
@@ -18,6 +18,7 @@ package com.intellij.openapi.compiler;
 /**
  * @deprecated Use {@link CompilationStatusListener} instead
  */
+@Deprecated
 public class CompilationStatusAdapter implements CompilationStatusListener {
 
 }
index 72dcaf399bb5d5ec1d49704af9dff8a3c1a2c5ef..45f6cf0343b32ae8c3824e59ba13c4754a315a85 100644 (file)
@@ -20,6 +20,7 @@ package com.intellij.openapi.compiler;
  * integrate into 'external build system' instead (http://www.jetbrains.org/intellij/sdk/docs/reference_guide/frameworks_and_external_apis/external_builder_api.html).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface CompilerFilter {
   CompilerFilter ALL = new CompilerFilter() {
     public boolean acceptCompiler(Compiler compiler) {
index eacb272357401228c3a784fc9f6986ea5a512bec..d1c2541acf6b2a588d5224424e1ba01ddc517874 100644 (file)
@@ -26,6 +26,7 @@ import com.intellij.openapi.vfs.VirtualFile;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface GeneratingCompiler extends Compiler, ValidityStateFactory, IntermediateOutputCompiler {
   /**
    * Represents a single item generated by the compiler.
index a5bd314b373db1d8d5533a48e6e7983e85739a1a..86785b3f10f331034f9aeb1ffa55fb728a5be59e 100644 (file)
@@ -23,5 +23,6 @@ package com.intellij.openapi.compiler;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface IntermediateOutputCompiler extends Compiler{
 }
index 2bd50e36344846a33501e7762d386e1f50325561..fccc873b1bdc42a5dc5d5806b5e6ce5bc93c0e8c 100644 (file)
@@ -24,6 +24,7 @@ import com.intellij.openapi.vfs.VirtualFile;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface JavaSourceTransformingCompiler extends Compiler {
 
   /**
index 3b27fe5aaf0ab31289f018adbeba4910b73ff669..344eeec6723fb3ae9c234786e5eaf62e83c1ada1 100644 (file)
@@ -28,6 +28,7 @@ import org.jetbrains.annotations.Nullable;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface PackagingCompiler extends FileProcessingCompiler{
   /**
    * Called when the compiler detects that an item in the output directory is outdated
index 279b1d7fe7aaeae70d1bd7fc4b978f8bf5d6a8a4..16b6d3534bce17fb1acb13643c772353ef70ce00 100644 (file)
@@ -28,6 +28,7 @@ import com.intellij.openapi.vfs.VirtualFile;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface SourceGeneratingCompiler extends GeneratingCompiler {
   
   /**
index a3a4631b297a9746dd220296db74f38bccb78b4d..f5c344b9ecab0ffba79c3073c735cfd9551b3bb5 100644 (file)
@@ -31,6 +31,7 @@ import java.util.Collection;
  * integrate into 'external build system' instead (https://confluence.jetbrains.com/display/IDEADEV/External+Builder+API+and+Plugins).
  * Since IDEA 13 users cannot switch to the old build system via UI and it will be completely removed in IDEA 14.
  */
+@Deprecated
 public interface TranslatingCompiler extends Compiler {
 
   /**
index 6830c006fa080690b76bc62281b00771e8b67997..74c4652a81e230a81551ab22fd33b771b13b3bbf 100644 (file)
@@ -63,6 +63,7 @@ public abstract class InspectionValidator {
   /**
    * @deprecated Provide inspection classes via {@link #getInspectionToolClasses(CompileContext)} instead.
    */
+  @Deprecated
   @SafeVarargs
   protected InspectionValidator(@NotNull final String description,
                                 @NotNull final String progressIndicatorText,
index 9be7331fd534f7219b7e8ced7e5824bb51e73641..2b3771877f303de926fe5dde006d3a8c388e0142 100644 (file)
@@ -24,6 +24,7 @@ import com.intellij.packaging.artifacts.Artifact;
  * @author Vladislav.Soroka
  * @since 7/18/2016
  */
+@Deprecated
 public interface ArtifactBuildTask extends ProjectModelBuildTask<Artifact> {
   Artifact getArtifact();
 
index 8973bb6ff80d235fee70017e9719bbc1c7dca519..ff91344916ba7e2f163e08bb7c3c32d9de66cb29 100644 (file)
@@ -37,6 +37,7 @@ public abstract class JdiProxy {
    * @deprecated for testing only
    * @return
    */
+  @Deprecated
   public boolean isValid() {
     return myTimeStamp == myTimer.getCurrentTime();
   }
index e0497327bc924f3556a119863fa690f4ba2284e7..88f0ec627f1339f8704a6fb2bd352b7198d03147 100644 (file)
@@ -52,11 +52,11 @@ public class CompileStepBeforeRun extends BeforeRunTaskProvider<CompileStepBefor
   /**
    * @deprecated to be removed in IDEA 2017
    */
-  public static final Key<RunConfiguration> RUN_CONFIGURATION = CompilerManager.RUN_CONFIGURATION_KEY;
+  @Deprecated public static final Key<RunConfiguration> RUN_CONFIGURATION = CompilerManager.RUN_CONFIGURATION_KEY;
   /**
    * @deprecated to be removed in IDEA 2017
    */
-  public static final Key<String> RUN_CONFIGURATION_TYPE_ID = CompilerManager.RUN_CONFIGURATION_TYPE_ID_KEY;
+  @Deprecated public static final Key<String> RUN_CONFIGURATION_TYPE_ID = CompilerManager.RUN_CONFIGURATION_TYPE_ID_KEY;
 
   @NonNls protected static final String MAKE_PROJECT_ON_RUN_KEY = "makeProjectOnRun";
 
index 67e814bf8dff11ddd8beb3c2bcdc405b64ccbfde..17c0bf8fdd070eccac76c23a7917fd3a95f81d37 100644 (file)
@@ -44,6 +44,7 @@ import java.util.ArrayList;
  *
  * @deprecated use {@link JrePathEditor} instead
  */
+@Deprecated
 public class AlternativeJREPanel extends JPanel implements PanelWithAnchor {
   private final ComponentWithBrowseButton<TextFieldWithHistory> myPathField;
   private final JBCheckBox myCbEnabled;
index 996982bb63f81f7761b0e655dff8aed2f77702e0..5c7f45c23907a379f5b15322e955487d5bdaaddc 100644 (file)
@@ -47,6 +47,7 @@ public class ConfigurationModuleSelector {
   /**
    * @deprecated use {@link #ConfigurationModuleSelector(Project, ModulesComboBox)} instead
    */
+  @Deprecated
   public ConfigurationModuleSelector(final Project project, final JComboBox<Module> modulesList) {
     this(project, modulesList, NO_MODULE_TEXT);
   }
@@ -76,6 +77,7 @@ public class ConfigurationModuleSelector {
   /**
    * @deprecated use {@link #ConfigurationModuleSelector(Project, ModulesComboBox, String)} instead
    */
+  @Deprecated
   public ConfigurationModuleSelector(final Project project, final JComboBox<Module> modulesList, final String noModule) {
     myProject = project;
     myModulesList = modulesList;
index 9a48603bc95f1770f6fe885387019a18488f3fb1..1890bfdb476a80222f2554c1800fcf0c19b05a1f 100644 (file)
@@ -42,6 +42,7 @@ public abstract class JUnitPatcher implements PluginAware {
   /**
    * @deprecated override {@link #patchJavaParameters(Module, JavaParameters)} instead
    */
+  @Deprecated
   public void patchJavaParameters(JavaParameters javaParameters) {
   }
 
index 74e9bee75deb4c2e40b6cb2cf60790730a0861fb..3b0fb73c20db62520b3ec4f390426ae84dddb503 100644 (file)
@@ -23,6 +23,7 @@ import com.intellij.execution.CantRunException;
 import com.intellij.openapi.project.Project;
 
 /** @deprecated use {@link SimpleJavaParameters#toCommandLine()} (to be removed in IDEA 2019) */
+@Deprecated
 @SuppressWarnings("unused")
 public class CommandLineBuilder {
   private CommandLineBuilder() { }
index c88f448f3cfe3655370beb759a68d7063bfa0d16..9f77febcc48108613c9fe202537a6f5d95d1ed3b 100644 (file)
@@ -117,6 +117,7 @@ public class JavaParameters extends SimpleJavaParameters {
   }
 
   /** @deprecated use {@link #getValidJdkToRunModule(Module, boolean)} instead */
+  @Deprecated
   public static Sdk getModuleJdk(final Module module) throws CantRunException {
     return getValidJdkToRunModule(module, false);
   }
index e0e42004c2e5b6ce892c84acb3e7025d526488a1..75d100a943d254ff1a8609d83a6bfd63aba07c24 100644 (file)
@@ -23,6 +23,7 @@ import org.jetbrains.annotations.NotNull;
 import java.nio.charset.Charset;
 
 /** @deprecated use {@link OSProcessHandler} (to be removed in IDEA 17) */
+@Deprecated
 public class DefaultJavaProcessHandler extends OSProcessHandler {
   public DefaultJavaProcessHandler(@NotNull JavaParameters javaParameters) throws ExecutionException {
     super(javaParameters.toCommandLine());
index 5764efad5a2d481feba15a0cd7570bbd7d136c89..f804241619eca568cdd61342870a8a8afeb6a671 100644 (file)
@@ -23,6 +23,7 @@ import java.net.URL;
 /**
  * @deprecated use {@link DownloadableLibraryType} instead
  */
+@Deprecated
 public abstract class DownloadableLibraryTypeBase extends DownloadableLibraryType {
   protected DownloadableLibraryTypeBase(@NotNull String libraryCategoryName,
                                         @NotNull String libraryTypeId,
index 70748d69d84c3482ff2bea837184873f762fe59a..9fed0b672fd744d098851b1100c63cae7a2800da 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.framework.FrameworkTypeEx;
  *
  * @deprecated use {@link #LibraryBasedFrameworkSupportProvider} instead
  */
+@Deprecated
 public class UnderlyingFrameworkSupportProviderBase extends LibraryBasedFrameworkSupportProvider {
   public UnderlyingFrameworkSupportProviderBase(FrameworkTypeEx frameworkType,
                                                 Class<? extends DownloadableLibraryType> libraryTypeClass) {
index 22aa73505032c6321a67f19a9d90cc326a711d3c..748832f7568526a727e7e0ce427cbf50be8a95a9 100644 (file)
@@ -10,6 +10,7 @@ import org.jetbrains.annotations.NotNull;
 import javax.swing.*;
 
 /** @deprecated trivial to implement; to be remove din IDEA 2019 */
+@Deprecated
 public class ProjectJdkListRenderer extends ColoredListCellRenderer<Object> {
   @Override
   protected void customizeCellRenderer(@NotNull JList<?> list, Object value, int index, boolean selected, boolean hasFocus) {
index aa34d878fc555f90ab0f78bb2901a370a6d77baf..b4949baebcaeda5c08feed37d19b75a70c681d8a 100644 (file)
@@ -9,6 +9,7 @@ import org.jetbrains.annotations.NotNull;
  * @deprecated superfluous, extend {@link AbstractBaseJavaLocalInspectionTool} / {@link CustomSuppressableInspectionTool} instead
  * (to be removed in IDEA 2019).
  */
+@Deprecated
 public abstract class BaseJavaLocalInspectionTool extends AbstractBaseJavaLocalInspectionTool implements CustomSuppressableInspectionTool {
   @NotNull
   @Override
index 6ad60ffc3750d1021ab3d98c615133eee4460298..592cf6bbe5ba7def3937db490d3ed16f54baf283 100644 (file)
@@ -23,6 +23,7 @@ import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
 
 /** @deprecated use {@link com.intellij.codeInsight.intention.QuickFixFactory#createDeleteFix} (to be removed in IDEA 2018) */
+@Deprecated
 public class RemoveElementQuickFix implements LocalQuickFix {
   private final String myName;
 
index edea458fda8d1d61c4f0d9b5bdc98446f7cb30ec..7c1abac692953e6f71b5697d868c09ab67f7d434 100644 (file)
@@ -52,6 +52,7 @@ public class MarkerType {
   /**
    * @deprecated use {@link #MarkerType(String, Function, LineMarkerNavigator)} instead
    */
+  @Deprecated
   public MarkerType(@NotNull Function<PsiElement, String> tooltip, @NotNull final LineMarkerNavigator navigator) {
     this("Unknown", tooltip, navigator);
   }
index 43539bb1ec3b6f4731219a7e19ea3518488198e4..31a7e066a8b30b83de1d3aa2f7e95b54bd512167 100644 (file)
@@ -23,7 +23,7 @@ public abstract class ForIndexedPostfixTemplate extends JavaEditablePostfixTempl
   /**
    * @deprecated
    */
-  public static final Condition<PsiElement> IS_NUMBER_OR_ARRAY_OR_ITERABLE =
+  @Deprecated public static final Condition<PsiElement> IS_NUMBER_OR_ARRAY_OR_ITERABLE =
     element -> IS_ITERABLE_OR_ARRAY.value(element) || IS_NUMBER.value(element);
     
   protected ForIndexedPostfixTemplate(@NotNull String templateName, @NotNull String templateText, @NotNull String example,
index 26b73bae6ab7563cb3fa3e03a4b6a95bc6486840..68090ffbe18ee48165e097f156988783640d31e5 100644 (file)
@@ -93,12 +93,14 @@ public abstract class JavaProjectModelModifier {
 
   //<editor-fold desc="Deprecated stuff.">
   /** @deprecated implement {@link #addModuleDependency(Module, Module, DependencyScope, boolean)} (to be removed in IDEA 2019) */
+  @Deprecated
   @SuppressWarnings({"DeprecatedIsStillUsed", "unused"})
   public Promise<Void> addModuleDependency(@NotNull Module from, @NotNull Module to, @NotNull DependencyScope scope) {
     throw new UnsupportedOperationException("#addModuleDependency(Module, Module, DependencyScope) called on " + this);
   }
 
   /** @deprecated implement {@link #addLibraryDependency(Module, Library, DependencyScope, boolean)} (to be removed in IDEA 2019) */
+  @Deprecated
   @SuppressWarnings({"DeprecatedIsStillUsed", "unused"})
   public Promise<Void> addLibraryDependency(@NotNull Module from, @NotNull Library library, @NotNull DependencyScope scope) {
     throw new UnsupportedOperationException("#addLibraryDependency(Module, Library, DependencyScope) called on " + this);
index 44e506d535258de7a64c5731fbbecc2f88f2a6e4..ea9bb144598197d92ff06314ed845426858ce092 100644 (file)
@@ -278,6 +278,7 @@ public class JavaClassReference extends GenericReference implements PsiJavaRefer
   }
 
   /** @deprecated use {@link #getSuperClasses()} instead */
+  @Deprecated
   @Nullable
   public String[] getExtendClassNames() {
     List<String> result = getSuperClasses();
index 40143e9a3d66755de6bd37cea194216869a2e472..7ef7635f0cbee2f51ad33e083363320c98d57e16 100644 (file)
@@ -52,9 +52,9 @@ public class JavaClassReferenceProvider extends GenericReferenceProvider impleme
   public static final CustomizationKey<Boolean> ALLOW_WILDCARDS = new CustomizationKey<>("ALLOW_WILDCARDS");
 
   /** @deprecated use {@link #SUPER_CLASSES} instead */
-  public static final CustomizationKey<String[]> EXTEND_CLASS_NAMES = new CustomizationKey<>("EXTEND_CLASS_NAMES");
+  @Deprecated public static final CustomizationKey<String[]> EXTEND_CLASS_NAMES = new CustomizationKey<>("EXTEND_CLASS_NAMES");
   /** @deprecated use {@link #IMPORTS} instead */
-  public static final CustomizationKey<String> DEFAULT_PACKAGE = new CustomizationKey<>("DEFAULT_PACKAGE");
+  @Deprecated public static final CustomizationKey<String> DEFAULT_PACKAGE = new CustomizationKey<>("DEFAULT_PACKAGE");
 
   @Nullable
   private Map<CustomizationKey, Object> myOptions;
index cca43e668d9e4da2454e9b7238614b8e5b31f497..fb78f5988b9defc94dfef65f8fcdad9ff6559df0 100644 (file)
@@ -52,6 +52,7 @@ public class OverriderUsageInfo extends UsageInfo implements OverriderMethodUsag
   /**
    * @deprecated use {@link #getOverridingMethod()} instead
    */
+  @Deprecated
   @Nullable
   @Override
   public PsiMethod getElement() {
index 08275a6f049ef5d10a3226d4b7f036e8c13025dc..875fb4cf98f626019629a0eabee1a7fa6f7a3a9f 100644 (file)
@@ -132,6 +132,7 @@ public abstract class NullableNotNullManager {
   }
 
   /** @deprecated use {@link #copyNotNullAnnotation(PsiModifierListOwner, PsiModifierListOwner)} (to be removed in IDEA 17) */
+  @Deprecated
   public PsiAnnotation copyNotNullAnnotation(PsiModifierListOwner owner) {
     NullabilityAnnotationInfo info = findOwnNullabilityAnnotationInfo(owner);
     if (info == null || info.getNullability() != Nullability.NOT_NULL) return null;
index d1bb245425cb80abd532b35facf6b5be7b690422..d249e3a0e849c64831c556b8d9171301c165118a 100644 (file)
@@ -49,11 +49,6 @@ public enum LanguageLevel {
     return myPreview;
   }
 
-  /** @deprecated use {@link JavaSdkVersion#getDescription()} (to be removed in IDEA 2019) */
-  public String getName() {
-    return this == JDK_X ? "Java X" :  "Java " + JavaSdkVersion.fromLanguageLevel(this).getDescription();
-  }
-
   @NotNull
   @Nls
   public String getPresentableText() {
@@ -74,6 +69,7 @@ public enum LanguageLevel {
   }
 
   /** @deprecated use {@link org.jetbrains.jps.model.java.JpsJavaSdkType#complianceOption()} (to be removed in IDEA 2019) */
+  @Deprecated
   public String getCompilerComplianceDefaultOption() {
     return myVersion.feature <= 8 ? "1." + myVersion.feature : String.valueOf(myVersion.feature);
   }
index 3475a4d4929fa6d1a5aa0a9cf23baa8cce393ff2..5191b97b983612166e80b0f512ba125601ef6a06 100644 (file)
@@ -214,6 +214,7 @@ public interface JVMElementFactory {
   PsiClassType createType(@NotNull PsiClass resolve, @NotNull PsiSubstitutor substitutor, @NotNull LanguageLevel languageLevel);
 
   /** @deprecated use {@link PsiType#annotate(TypeAnnotationProvider)} (to be removed in IDEA 18) */
+  @Deprecated
   PsiClassType createType(@NotNull PsiClass resolve,
                           @NotNull PsiSubstitutor substitutor,
                           @NotNull LanguageLevel languageLevel,
index a7df9706836559351c08eca1dd1d9d6b9fd3a900..7644d98b02956b83930ce0da44b6f02762cd88ec 100644 (file)
@@ -104,6 +104,7 @@ public abstract class JavaPsiFacade {
    * @deprecated use {@link com.intellij.psi.PsiNameHelper#getInstance(com.intellij.openapi.project.Project)}
    * @return the name helper instance.
    */
+  @Deprecated
   @NotNull
   public abstract PsiNameHelper getNameHelper();
 
index e8dc610c0d1aef1130062af42a86e9dfb5429afc..cd86764d146b08ac213929e8fe460f2ce10c950a 100644 (file)
@@ -165,6 +165,7 @@ public interface PsiMethod extends PsiMember, PsiNameIdentifierOwner, PsiModifie
    *         or implement any other method.
    * @deprecated use {@link #findDeepestSuperMethods()} instead
    */
+  @Deprecated
   @Nullable
   PsiMethod findDeepestSuperMethod();
 
index 41ed751b18fe23d27283afd605c0cf2f0aa16829..be3f9b65eecfa588d42e9f9cb46a623e267590b4 100644 (file)
@@ -235,6 +235,7 @@ public class PsiPrimitiveType extends PsiType.Stub implements JvmPrimitiveType {
   /**
    * @deprecated please use {@link JvmPrimitiveTypeKind#getBoxedFqns}
    */
+  @Deprecated
   public static Collection<String> getAllBoxedTypeNames() {
     return JvmPrimitiveTypeKind.getBoxedFqns();
   }
index d0908d82ee7cbacb1951d50f8d98823c15a7699b..c7d1dff30abfbf951ba31519995068c7fd77b6d1 100644 (file)
@@ -27,5 +27,6 @@ public interface PsiResourceList extends PsiElement, Iterable<PsiResourceListEle
   int getResourceVariablesCount();
 
   /** @deprecated use {@link #iterator()} (to be removed in IDEA 17) */
+  @Deprecated
   List<PsiResourceVariable> getResourceVariables();
 }
index c922b62c3ed94e14db36d6e30394123703ee7546..1634eda8271631fa9f3f288571fa1a641808cae8 100644 (file)
@@ -73,6 +73,7 @@ public abstract class PsiType implements PsiAnnotationOwner, Cloneable, JvmType
   }
 
   /** @deprecated use {@link #annotate(TypeAnnotationProvider)} (to be removed in IDEA 18) */
+  @Deprecated
   @NotNull
   public PsiArrayType createArrayType(@NotNull PsiAnnotation... annotations) {
     return new PsiArrayType(this, annotations);
index f84e77a07d7b03693a2706ef53b3cfff3abb5c0d..77dddfea70845139eccd6bad19ac83c1a8ffbce2 100644 (file)
@@ -79,6 +79,7 @@ public class PsiWildcardType extends PsiType.Stub implements JvmWildcardType {
   /**
    * @deprecated use {@link #annotate(TypeAnnotationProvider)} (to be removed in IDEA 18)
    */
+  @Deprecated
   public PsiWildcardType annotate(@NotNull final PsiAnnotation[] annotations) {
     return annotations.length == 0 ? this : new PsiWildcardType(this, TypeAnnotationProvider.Static.create(annotations));
   }
index b2e5df99f54d5b6bcc90da0d259aede55ff5317b..ce8f91d4a28b159354ccaa252fb746b959d96016 100644 (file)
@@ -38,5 +38,6 @@ public interface PsiClassStub<T extends PsiClass> extends PsiMemberStub<T> {
   @Nullable String getSourceFileName();
 
   /** @deprecated use {@link PsiJavaFileStub#getLanguageLevel()} (to be removed in IDEA 18) */
+  @Deprecated
   LanguageLevel getLanguageLevel();
 }
\ No newline at end of file
index a8bc472c7e2b3f5f155396a63f97bc1a49e562f5..ea761f47b078364262d021bc6a594933628b724a 100644 (file)
@@ -34,5 +34,6 @@ public interface PsiJavaFileStub extends PsiClassHolderFileStub<PsiJavaFile> {
   StubPsiFactory getPsiFactory();
 
   /** @deprecated override {@link #getPsiFactory()} instead (to be removed in IDEA 18) */
+  @Deprecated
   void setPsiFactory(StubPsiFactory factory);
 }
\ No newline at end of file
index c7be036cf6d32af4175263bd9156c9deb23d43d1..099d3c265772369c3f45e694da38dd2b72bba714 100644 (file)
@@ -15,6 +15,7 @@ import java.util.Map;
 /**
  * @deprecated use conflict-filter processor with duplicates resolver {@link com.intellij.psi.scope.processor.ConflictFilterProcessor}
  */
+@Deprecated
 public class AddAllMembersProcessor implements PsiScopeProcessor {
   private final Collection<PsiElement> myAllMembers;
   private final PsiClass myPsiClass;
index 748fea21eb17fea2c29b236a3dd15cb2c77aaa28..e4cdf7985ffb5f5339efb11e2575807fb9ef994e 100644 (file)
@@ -57,6 +57,7 @@ public class PropertyChecker {
      * and used in regression tests, because any changes in the test itself or the framework can render the passed argument obsolete.
      * For regression testing, it's recommended to code the failing scenario explicitly.
      */
+    @Deprecated
     @SuppressWarnings("DeprecatedIsStillUsed")
     public Parameters withSeed(long seed) {
       if (serializedData != null) {
@@ -113,6 +114,7 @@ public class PropertyChecker {
      * and used in regression tests, because any changes in the test itself or the framework can render the passed arguments obsolete.
      * For regression testing, it's recommended to code the failing scenario explicitly.
      */
+    @Deprecated
     @SuppressWarnings("DeprecatedIsStillUsed")
     public Parameters recheckingIteration(long seed, int sizeHint) {
       return withSeed(seed).withSizeHint(whatever -> sizeHint).withIterationCount(1);
@@ -125,6 +127,7 @@ public class PropertyChecker {
      * and used in regression tests, because any changes in the test itself or the framework can render the passed argument obsolete.
      * For regression testing, it's recommended to code the failing scenario explicitly.
      */
+    @Deprecated
     @SuppressWarnings("DeprecatedIsStillUsed")
     public Parameters rechecking(@NotNull String serializedData) {
       this.iterationCount = 1;
index 64880314deab1db4fc9f2f6e7ae0485d3fdd1866..353c3058aa9abc1439edbce101942597b3a94179 100644 (file)
@@ -48,6 +48,7 @@ public abstract class BuildRootDescriptor {
   /**
    * @deprecated override {@link #createFileFilter()} instead
    */
+  @Deprecated
   public FileFilter createFileFilter(@NotNull ProjectDescriptor descriptor) {
     return null;
   }
index cb71a58d8ebb95f12229373b291e08726079c3dc..7b27bf70d3a04e0259a3b69b6bd890085d54dfc9 100644 (file)
@@ -36,11 +36,13 @@ public interface CompileContext extends UserDataHolder, MessageHandler {
   /**
    * @deprecated use {@link org.jetbrains.jps.builders.java.JavaBuilderUtil#isCompileJavaIncrementally(CompileContext)} for java-related usages
    */
+  @Deprecated
   boolean isMake();
 
   /**
    * @deprecated use {@link org.jetbrains.jps.builders.java.JavaBuilderUtil#isForcedRecompilationAllJavaModules(CompileContext)} for java-related usages
    */
+  @Deprecated
   boolean isProjectRebuild();
 
   @Nullable
index 58993a73b99393200aa66ceeacb2b9612ef0f239..1b625a8bea508168a9c4ff1e96b5580918b9c8ed 100644 (file)
@@ -72,6 +72,7 @@ public class FSOperations {
    * @throws IOException
    *
    */
+  @Deprecated
   public static void markDirty(CompileContext context, final File file) throws IOException {
     markDirty(context, CompilationRound.NEXT, file);
   }
@@ -87,6 +88,7 @@ public class FSOperations {
   /**
    * @deprecated use markDirtyIfNotDeleted(CompileContext context, final CompilationRound round, final File file)
    */
+  @Deprecated
   public static void markDirtyIfNotDeleted(CompileContext context, final File file) throws IOException {
     markDirtyIfNotDeleted(context, CompilationRound.NEXT, file);
   }
@@ -110,6 +112,7 @@ public class FSOperations {
   /**
    * @deprecated use markDirty(CompileContext context, final CompilationRound round, final ModuleChunk chunk, @Nullable FileFilter filter)
    */
+  @Deprecated
   public static void markDirty(CompileContext context, final ModuleChunk chunk, @Nullable FileFilter filter) throws IOException {
     markDirty(context, CompilationRound.NEXT, chunk, filter);
   }
@@ -128,6 +131,7 @@ public class FSOperations {
   /**
    * @deprecated use markDirtyRecursively(CompileContext context, final CompilationRound round, ModuleChunk chunk, FileFilter filter)
    */
+  @Deprecated
   public static void markDirtyRecursively(CompileContext context, ModuleChunk chunk) throws IOException {
     markDirtyRecursively(context, CompilationRound.NEXT, chunk);
   }
index d1a09afa9aad195e4b8283294e1740d835e24e73..e17260a77575e285457a4c7038629e9d2edf3a27 100644 (file)
@@ -98,6 +98,7 @@ public abstract class ModuleLevelBuilder extends Builder {
   /**
    * @deprecated use {@link org.jetbrains.jps.builders.java.JavaBuilderExtension#shouldHonorFileEncodingForCompilation(java.io.File)} instead
    */
+  @Deprecated
   public boolean shouldHonorFileEncodingForCompilation(File file) {
     return false;
   }
index dd8a4be2aadd524072ed1a7a7215e1384c8b0f57..569066381dd71fe1be0b3440ea7f88bb394c79c3 100644 (file)
@@ -31,6 +31,7 @@ public interface ArtifactInstructionsBuilder {
   /**
    * @deprecated use {@link #createCopyingHandler(File, JpsPackagingElement, ArtifactCompilerInstructionCreator)} instead
    */
+  @Deprecated
   @NotNull
   FileCopyingHandler createCopyingHandler(@NotNull File file, @NotNull JpsPackagingElement contextElement);
 
index 3ebb903cf48b3d0fca9142a3d2a3212f310ec677..e8dbcca49283e04ff524b528a4a8da72502043cf 100644 (file)
@@ -57,6 +57,7 @@ public abstract class ArtifactRootCopyingHandlerProvider {
   /**
    * @deprecated override {@link #createCustomHandler(JpsArtifact, File, File, JpsPackagingElement, JpsModel, BuildDataPaths)} instead
    */
+  @Deprecated
   @Nullable
   public FileCopyingHandler createCustomHandler(@NotNull JpsArtifact artifact,
                                                 @NotNull File root,
@@ -69,6 +70,7 @@ public abstract class ArtifactRootCopyingHandlerProvider {
   /**
    * @deprecated override {@link #createCustomHandler(JpsArtifact, File, File, JpsPackagingElement, JpsModel, BuildDataPaths)} instead
    */
+  @Deprecated
   @Nullable
   public FileCopyingHandler createCustomHandler(@NotNull JpsArtifact artifact, @NotNull File root, @NotNull JpsModel model,
                                                 @NotNull BuildDataPaths buildDataPaths) {
index d089ad119548e2727f80599839e29bd07d6b12e9..d13f2e3f493cbfe8a5bca5dd216cbe8fa9e71fb7 100644 (file)
@@ -39,6 +39,7 @@ public class CompilerMessage extends BuildMessage {
   /**
    * @deprecated use either {@link #createInternalCompilationError(String, Throwable)} or {@link #createInternalBuilderError(String, Throwable)} instead
    */
+  @Deprecated
   public CompilerMessage(@NotNull String compilerName, @NotNull Throwable internalError) {
     this(compilerName, Kind.ERROR, getTextFromThrowable(internalError), null, -1L, -1L, -1L, -1L, -1L);
   }
index 3e2fb95d96af4bc805199818a65ebc37695e8fad..dae3c79d74892761a5ae123036b2f81b3b16295b 100644 (file)
@@ -30,12 +30,14 @@ public class JavaSourceRootProperties extends JpsElementBase<JavaSourceRootPrope
   /**
    * @deprecated do not call this method directly, use {@link org.jetbrains.jps.model.java.JpsJavaExtensionService#createSourceRootProperties(String)} instead
    */
+  @Deprecated
   public JavaSourceRootProperties() {
   }
 
   /**
    * @deprecated do not call this method directly, use {@link org.jetbrains.jps.model.java.JpsJavaExtensionService#createSourceRootProperties(String)} instead
    */
+  @Deprecated
   public JavaSourceRootProperties(@NotNull String packagePrefix) {
     myPackagePrefix = packagePrefix;
   }
@@ -43,6 +45,7 @@ public class JavaSourceRootProperties extends JpsElementBase<JavaSourceRootPrope
   /**
    * @deprecated do not call this method directly, use {@link org.jetbrains.jps.model.java.JpsJavaExtensionService#createSourceRootProperties(String, boolean)} instead
    */
+  @Deprecated
   public JavaSourceRootProperties(@NotNull String packagePrefix, boolean forGeneratedSources) {
     myPackagePrefix = packagePrefix;
     myForGeneratedSources = forGeneratedSources;
@@ -86,6 +89,7 @@ public class JavaSourceRootProperties extends JpsElementBase<JavaSourceRootPrope
   /**
    * @deprecated use {@link #setPackagePrefix(String)} instead
    */
+  @Deprecated
   @Override
   public void setData(@NotNull JavaSourceRootProperties data) {
     applyChanges(data);
@@ -94,6 +98,7 @@ public class JavaSourceRootProperties extends JpsElementBase<JavaSourceRootPrope
   /**
    * @deprecated use {@link #getPackagePrefix()} instead
    */
+  @Deprecated
   @NotNull
   @Override
   public JavaSourceRootProperties getData() {
index 712dc28d282b3f378440f2335234b47daee54719..83f5aa36cbc7daaf6707eade07192185ce91d039 100644 (file)
@@ -20,6 +20,7 @@ public abstract class JdkVersionDetector {
   }
 
   /** @deprecated use {@link #detectJdkVersionInfo(String)} (to be removed in IDEA 2019) */
+  @Deprecated
   @Nullable
   @SuppressWarnings("deprecation")
   public String detectJdkVersion(@NotNull String homePath) {
@@ -28,6 +29,7 @@ public abstract class JdkVersionDetector {
   }
 
   /** @deprecated use {@link #detectJdkVersionInfo(String, ActionRunner)} (to be removed in IDEA 2019) */
+  @Deprecated
   @Nullable
   @SuppressWarnings("deprecation")
   public String detectJdkVersion(@NotNull String homePath, @NotNull ActionRunner runner) {
@@ -61,11 +63,13 @@ public abstract class JdkVersionDetector {
     }
 
     /** @deprecated use {@link #version} (to be removed in IDEA 2019) */
+    @Deprecated
     public String getVersion() {
       return formatVersionString(version);
     }
 
     /** @deprecated use {@link #bitness} (to be removed in IDEA 2019) */
+    @Deprecated
     public Bitness getBitness() {
       return bitness;
     }
index c615cca8b8990432287449f9233fcae2715b5428..c6d5dd92d40268361334b4ec2975e7a07811ff2a 100644 (file)
@@ -28,6 +28,7 @@ public enum LanguageLevel {
   }
 
   /** @deprecated use {@link JpsJavaSdkType#complianceOption} (to be removed in IDEA 2019) */
+  @Deprecated
   public String getComplianceOption() {
     return JpsJavaSdkType.complianceOption(toJavaVersion());
   }
index d1219fea57380bd8294bdd4dfd828acf606ef137..d47706d7fcdb1bda94ab65524d2319358adff8aa 100644 (file)
@@ -74,6 +74,7 @@ public class JpsGlobalLoader extends JpsLoaderBase {
   /**
    * @deprecated use {@link JpsModelSerializationDataService#getPathVariableValue(org.jetbrains.jps.model.JpsGlobal, String)} instead
    */
+  @Deprecated
   @Nullable
   public static String getPathVariable(JpsGlobal global, String name) {
     return JpsModelSerializationDataService.getPathVariableValue(global, name);
index a50af9c136026488bbd2358df8beb55841f53b61..9bdb84a0fba233f6a2f1f9c39fc4aec881502015 100644 (file)
@@ -36,6 +36,7 @@ public class JpsModelSerializationDataService {
   /**
    * @deprecated use {@link #computeAllPathVariables(org.jetbrains.jps.model.JpsGlobal)} instead
    */
+  @Deprecated
   @NotNull
   public static Map<String, String> getAllPathVariables(JpsGlobal global) {
     return computeAllPathVariables(global);
index eb84147bf817a5bec5d11ba791c65278f18119c4..17c8cb2603eb76c61bd6297bc592cc5097d7bf4e 100644 (file)
@@ -32,6 +32,7 @@ public interface JpsPathVariablesConfiguration extends JpsElement {
   /**
    * @deprecated use {@link #getUserVariableValue(String)} instead
    */
+  @Deprecated
   @Nullable
   String getPathVariable(@NotNull String name);
 
@@ -41,6 +42,7 @@ public interface JpsPathVariablesConfiguration extends JpsElement {
   /**
    * @deprecated use {@link #getAllUserVariables()} instead
    */
+  @Deprecated
   @NotNull
   Map<String, String> getAllVariables();
 
index 28e26a0bd9ad72f3bfdad1e634e38c1cfd7409d1..99843add1b8159c6cd65645188504cd5f71cc556 100644 (file)
@@ -18,6 +18,7 @@ package org.jetbrains.jps.gant;
 /**
  * @deprecated see {@link JpsGantProjectBuilder} for details
  */
+@Deprecated
 public interface BuildInfoPrinter {
 
   void printProgressMessage(JpsGantProjectBuilder builder, String message);
index 92a6aee2cc767c08a5b4a5efdaa386aafab57be2..018872e1be0dc8062598ca797d7a1d842f2a5b8f 100644 (file)
@@ -51,6 +51,7 @@ import static org.jetbrains.jps.api.CmdlineRemoteProto.Message.ControllerMessage
  * @deprecated use {@link org.jetbrains.intellij.build.CompilationTasks} from intellij.platform.buildScripts module for building IDEs based
  * on IntelliJ Platform. If you need to build another project use {@link Standalone} directly.
  */
+@Deprecated
 public class JpsGantProjectBuilder {
   private final Project myProject;
   private final JpsModel myModel;
index 0bf3904ff2397a74e78bfeac1cd8cf2283b095aa..8c71ed4d4d5b36240f3cee3f583c3df2dcb4cde5 100644 (file)
@@ -81,6 +81,7 @@ public abstract class DaemonCodeAnalyzer {
   /**
    * @deprecated Use {@link DaemonListener} instead
    */
+  @Deprecated
   public abstract static class DaemonListenerAdapter implements DaemonListener {
   }
 }
index c8420fdf79a47bbac4ab2f32e8133ba9356408e1..5501ac87dc96669d78df9b386bd853e7b172de4f 100644 (file)
@@ -57,6 +57,7 @@ public abstract class WolfTheProblemSolver {
   /**
    * @deprecated register extensions to {@link #FILTER_EP_NAME} instead
    */
+  @Deprecated
   public abstract void registerFileHighlightFilter(@NotNull Condition<VirtualFile> filter, @NotNull Disposable parentDisposable);
   public abstract void queue(VirtualFile suspiciousFile);
 }
index efdd952493037222cc0c65f44f57163a6a3265d9..14700b9916ac61824fa92563d5179e8d5551e342 100644 (file)
@@ -26,19 +26,19 @@ public abstract class TextEditorHighlightingPassRegistrar {
   /**
    * @deprecated
    */
-  public static final int FIRST = 0;
+  @Deprecated public static final int FIRST = 0;
   /**
    * @deprecated
    */
-  public static final int LAST = 1;
+  @Deprecated public static final int LAST = 1;
   /**
    * @deprecated
    */
-  public static final int BEFORE = 3;
+  @Deprecated public static final int BEFORE = 3;
   /**
    * @deprecated
    */
-  public static final int AFTER = 2;
+  @Deprecated public static final int AFTER = 2;
 
   public enum Anchor {
     FIRST, LAST, BEFORE, AFTER,
@@ -51,6 +51,7 @@ public abstract class TextEditorHighlightingPassRegistrar {
   /**
    * @deprecated
    */
+  @Deprecated
   public abstract void registerTextEditorHighlightingPass(TextEditorHighlightingPassFactory factory, int anchor, int anchorPass);
 
   /**
index a5b2ddd57db70c3238d8426bda85336eceaa4e9b..7e1032d0312fe6e0ee6a431a8768db5a5e319274 100644 (file)
@@ -36,6 +36,7 @@ public interface Validator<T extends PsiElement> {
     /**
      * @deprecated Use {@link #addMessage(PsiElement, String, ErrorType)} instead
      */
+    @Deprecated
     void addMessage(PsiElement context, String message, @MagicConstant(intValues = {INFO, WARNING, ERROR}) int type);
     void addMessage(PsiElement context, String message, @NotNull ErrorType type);
   }
index 3f921a5bea62fb0adc0a662fdb60fadabfd75edb..d19e4a35fd694804ce8252ed15177768cdedffa3 100644 (file)
@@ -33,7 +33,7 @@ public interface HighlightInfoType {
   HighlightInfoType ERROR = new HighlightInfoTypeImpl(HighlightSeverity.ERROR, CodeInsightColors.ERRORS_ATTRIBUTES);
   HighlightInfoType WARNING = new HighlightInfoTypeImpl(HighlightSeverity.WARNING, CodeInsightColors.WARNINGS_ATTRIBUTES);
   /** @deprecated use {@link #WEAK_WARNING} instead */
-  HighlightInfoType INFO = new HighlightInfoTypeImpl(HighlightSeverity.INFO, CodeInsightColors.INFO_ATTRIBUTES);
+  @Deprecated HighlightInfoType INFO = new HighlightInfoTypeImpl(HighlightSeverity.INFO, CodeInsightColors.INFO_ATTRIBUTES);
   HighlightInfoType WEAK_WARNING = new HighlightInfoTypeImpl(HighlightSeverity.WEAK_WARNING, CodeInsightColors.WEAK_WARNING_ATTRIBUTES);
   HighlightInfoType INFORMATION = new HighlightInfoTypeImpl(HighlightSeverity.INFORMATION, CodeInsightColors.INFORMATION_ATTRIBUTES);
 
index faf72b8fb5973d56f572344c489ae633cab01cae..21735359331fc789479cf27d214ef089e16e109d 100644 (file)
@@ -38,6 +38,7 @@ public abstract class InspectionProjectProfileManager implements InspectionProfi
   /**
    * @deprecated use {@link #getCurrentProfile()} instead
    */
+  @Deprecated
   @NotNull
   public InspectionProfile getInspectionProfile(PsiElement element) {
     return getCurrentProfile();
index 5f8ab7a459577f9401bac83c0677dbb624b9855d..370ead17e4b1c9ea8986bb60bb97110836f0f75e 100644 (file)
@@ -73,6 +73,7 @@ public interface IdeaPluginDescriptor extends PluginDescriptor {
   boolean getUseIdeaClassLoader();
 
   /** @deprecated doesn't make sense for installed plugins; use PluginNode#getDownloads (to be removed in IDEA 2019) */
+  @Deprecated
   String getDownloads();
 
   String getSinceBuild();
index 83c648b56507965bd3982c40fbee905f04bdb8fb..ab573b355b7b8ff1d0710827653cbc7fd1c83b84 100644 (file)
@@ -85,6 +85,7 @@ public abstract class ApplicationInfo {
   }
 
   /** @deprecated use {@link #getBuild()} instead (to remove in IDEA 16) */
+  @Deprecated
   @SuppressWarnings("UnusedDeclaration")
   public String getBuildNumber() {
     return getBuild().asString();
index dd9ee202da0d6f01272b87f9f5038239ea332e86..4599d8fcce7502c5ab6899994bec1872874036ef 100644 (file)
@@ -43,6 +43,7 @@ public abstract class BaseActionRunnable<T> {
 
   //<editor-fold desc="Deprecated stuff.">
   /** @deprecated use {@link ApplicationManager#getApplication()} (to be removed in IDEA 2018) */
+  @Deprecated
   protected Application getApplication() {
     return ApplicationManager.getApplication();
   }
index cca5cc547157a0c7c7539014ffd92f673bd842ae..4c52209e5a9df09152f1e61eb43655032d025a4e 100644 (file)
@@ -31,6 +31,7 @@ public abstract class CommandProcessor {
   /**
    * @deprecated use {@link #executeCommand(com.intellij.openapi.project.Project, java.lang.Runnable, java.lang.String, java.lang.Object)}
    */
+  @Deprecated
   public abstract void executeCommand(@NotNull Runnable runnable,
                                       @Nullable String name,
                                       @Nullable Object groupId);
index 38c44a197c5bc5026d6493d163b3d4fd024bfadd..6eaf50ef7e648bb5f51ac8fcd4dd18d7dd1eda2f 100644 (file)
@@ -36,6 +36,7 @@ public interface ComponentManager extends UserDataHolder, Disposable {
   /**
    * @deprecated Use {@link #getComponent(Class)} instead.
    */
+  @Deprecated
   BaseComponent getComponent(@NotNull String name);
 
   /**
@@ -70,6 +71,7 @@ public interface ComponentManager extends UserDataHolder, Disposable {
    *
    * @deprecated use <a href="http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_extensions_and_extension_points.html">extension points</a> instead
    */
+  @Deprecated
   @NotNull
   <T> T[] getComponents(@NotNull Class<T> baseClass);
 
index eb36d950f3665400669105e125619a3c57e2f4f7..b2cfc685afbb7c4aed17cba0b35af8f9ae180b7a 100644 (file)
@@ -72,7 +72,7 @@ public interface CodeInsightColors {
    * For Java-related code use JavaHighlightingColors.IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES.
    * The field will be removed in future versions.
    */
-  TextAttributesKey IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES = TextAttributesKey.DUMMY_DEPRECATED_ATTRIBUTES;
+  @Deprecated TextAttributesKey IMPLICIT_ANONYMOUS_CLASS_PARAMETER_ATTRIBUTES = TextAttributesKey.DUMMY_DEPRECATED_ATTRIBUTES;
   /**
    * @deprecated as of version 16. 
    * For non-Java code use DefaultLanguageHighlighterColors.INSTANCE_FIELD or define your own. 
index 72c6ba00202ee7c89be745bd4e9878ab1ff883e2..e20c46a7e2f233f847fecc41cff4efac25254e49 100644 (file)
@@ -75,6 +75,7 @@ public abstract class LanguageFileType implements FileType{
    * Overriders: override {@link #extractCharsetFromFileContent(Project, VirtualFile, CharSequence)} instead
    * @deprecated 
    */
+  @Deprecated
   public Charset extractCharsetFromFileContent(@Nullable Project project, @Nullable VirtualFile file, @NotNull String content) {
     return null;
   }
index c0d97a11026546dfaadb76f9694c47f1d5458ce6..f0fb91904bea90e5a5e50e2a26389bab73bd3bc4 100644 (file)
@@ -146,6 +146,7 @@ public abstract class ProgressManager extends ProgressIndicatorProvider {
    * @param canceledRunnable a callback to be called in Swing UI thread if the process have been canceled by the user.
    * @deprecated use {@link #run(Task)}
    */
+  @Deprecated
   public abstract void runProcessWithProgressAsynchronously(@NotNull Project project,
                                                             @NotNull @Nls String progressTitle,
                                                             @NotNull Runnable process,
@@ -165,6 +166,7 @@ public abstract class ProgressManager extends ProgressIndicatorProvider {
    * @param option           progress indicator behavior controller.
    * @deprecated use {@link #run(Task)}
    */
+  @Deprecated
   public abstract void runProcessWithProgressAsynchronously(@NotNull Project project,
                                                             @NotNull @Nls String progressTitle,
                                                             @NotNull Runnable process,
index 499ffe42bf201961342e48ffdccbf8345d505311..7a6526de54009ede467ad846d2058b6de800f92b 100644 (file)
@@ -19,6 +19,7 @@ package com.intellij.openapi.project;
  * @author peter
  * @deprecated to remove in IDEA 16
  */
+@Deprecated
 public enum DumbModeAction {
   NOTHING,
   CANCEL,
index bbc5d3888414855ad3815281b7a50c2a199e7908..4513cd8ec7f812b4c8e49ac0df60cdfe46a07550 100644 (file)
@@ -20,8 +20,10 @@ import org.jetbrains.annotations.Nullable;
 
 public interface LocalFileProvider {
   /** @deprecated use {@link com.intellij.openapi.vfs.newvfs.ArchiveFileSystem#getLocalByEntry(com.intellij.openapi.vfs.VirtualFile)} instead (to be removed in IDEA 2019) */
+  @Deprecated
   VirtualFile getLocalVirtualFileFor(@Nullable VirtualFile entryVFile);
 
   /** @deprecated use {@code ArchiveFileSystem.findFileByPath(path)} instead (to be removed in IDEA 2019) */
+  @Deprecated
   VirtualFile findLocalVirtualFileByPath(@NotNull String path);
 }
\ No newline at end of file
index 5b1c8fd8b692e206674b3080b89c155ce4fa2406..892855819bae21faaba4b48aa2b7dc24ca70c65c 100644 (file)
@@ -47,6 +47,7 @@ public class StandardFileSystems {
   //<editor-fold desc="Deprecated stuff.">
 
   /** @deprecated use ArchiveFileSystem#getRootByLocal(VirtualFile) (to remove in IDEA 2018) */
+  @Deprecated
   public static VirtualFile getJarRootForLocalFile(@NotNull VirtualFile local) {
     return jar().findFileByPath(local.getPath() + URLUtil.JAR_SEPARATOR);
   }
index ac3a2e7ba548c2542d60503059941b9cf5840552..75976523cf29296454ecf0a9d07478f02359cb52 100644 (file)
@@ -722,6 +722,7 @@ public class VfsUtilCore {
 
   //<editor-fold desc="Deprecated stuff.">
   /** @deprecated does not handle recursive symlinks, use {@link #visitChildrenRecursively(VirtualFile, VirtualFileVisitor)} (to be removed in IDEA 2018) */
+  @Deprecated
   public static void processFilesRecursively(@NotNull VirtualFile root,
                                              @NotNull Processor<VirtualFile> processor,
                                              @NotNull Convertor<VirtualFile, Boolean> directoryFilter) {
index bf50f8f5b9a41bb4331b053d7044793063aef1b4..f43274d13bf41b157d6a8b8e81ef217304d5bd1d 100644 (file)
@@ -720,6 +720,7 @@ public abstract class VirtualFile extends UserDataHolderBase implements Modifica
   }
 
   /** @deprecated use {@link VirtualFileSystem#isValidName(String)} (to be removed in IDEA 18) */
+  @Deprecated
   public static boolean isValidName(@NotNull String name) {
     return !name.isEmpty() && name.indexOf('\\') < 0 && name.indexOf('/') < 0;
   }
index f7312e42b048551c07204ee954c8a95bc8e7e1ce..88142cdc22fd4071a96d37815ed194ed5f66f973 100644 (file)
@@ -18,5 +18,6 @@ package com.intellij.openapi.vfs;
 /**
  * @deprecated Use {@link VirtualFileListener} instead
  */
+@Deprecated
 public abstract class VirtualFileAdapter implements VirtualFileListener {
 }
index 7522f555747bb3ea317e98589608a9dd7516e2ae..78e9742a39f96505f73c6d063c5315c265a02f16 100644 (file)
@@ -24,6 +24,7 @@ public interface BulkFileListener {
   /**
    * @deprecated obsolete, implement {@link BulkFileListener} directly (to be removed in IDEA 2019)
    */
+  @Deprecated
   class Adapter implements BulkFileListener {
 
   }
index 7f8c32ac0667747da5e94da6e181282a22303e80..91a877512473bed8be910e66773aeec75899c188 100644 (file)
@@ -321,6 +321,7 @@ public interface PsiElement extends UserDataHolder, Iconable {
    * @throws IncorrectOperationException if the modification is not supported or not possible for some reason.
    * @deprecated not all PSI implementations implement this method correctly.
    */
+  @Deprecated
   void checkAdd(@NotNull PsiElement element) throws IncorrectOperationException;
 
   /**
@@ -370,6 +371,7 @@ public interface PsiElement extends UserDataHolder, Iconable {
    * @throws IncorrectOperationException if the modification is not supported or not possible for some reason.
    * @deprecated not all PSI implementations implement this method correctly.
    */
+  @Deprecated
   void checkDelete() throws IncorrectOperationException;
 
   /**
index 5977b557c5b2e50a801eec7c31c6714a7459fe79..083423d0f70ab4134d7e02d0dc8d3ddeadc4b43e 100644 (file)
@@ -74,6 +74,7 @@ public abstract class SmartPointerManager {
    * @return the smart pointer instance.
    * @deprecated use {@link #createSmartPsiElementPointer(PsiElement)} instead
    */
+  @Deprecated
   @NotNull
   public <E extends PsiElement> SmartPsiElementPointer<E> createLazyPointer(@NotNull E element) {
     return createSmartPsiElementPointer(element);
index 44b89af7e8b554448e555ee9c25eadd97628bd70..550ccb8cf4c7e360180c7e889885eb260809dd6a 100644 (file)
@@ -188,6 +188,7 @@ public abstract class CodeStyleManager  {
   /**
    * @deprecated this method is not intended to be used by plugins.
    */
+  @Deprecated
   public abstract boolean isLineToBeIndented(@NotNull PsiFile file, int offset);
 
   /**
@@ -232,16 +233,19 @@ public abstract class CodeStyleManager  {
   /**
    * @deprecated
    */
+  @Deprecated
   public abstract Indent getIndent(String text, FileType fileType);
 
   /**
    * @deprecated
    */
+  @Deprecated
   public abstract String fillIndent(Indent indent, FileType fileType);
 
   /**
    * @deprecated
    */
+  @Deprecated
   public abstract Indent zeroIndent();
 
   /**
index 57a16f9430a8ee57c195ab2e697e01df733375a1..71af8e2daff446c5b651251100186132e7736fee 100644 (file)
@@ -19,6 +19,7 @@ package com.intellij.psi.codeStyle;
  * @deprecated
  * @see com.intellij.formatting.Indent
  */
+@Deprecated
 public interface Indent {
   boolean isGreaterThan(Indent indent);
 
index 45956f2a929ed92dec6c66c53caaeefe1fa7d397..58849e3349c0d0066ccdfb283d50327196a482db 100644 (file)
@@ -31,6 +31,7 @@ public abstract class MetaDataRegistrar {
    * @param metadataDescriptorClass class of metadata, should be instantiable without parameters
    * @deprecated use {@link #registerMetaData(com.intellij.patterns.ElementPattern, Class)}
    */
+  @Deprecated
   public abstract <T extends PsiMetaData> void registerMetaData(
     ElementFilter filter, Class<T> metadataDescriptorClass);
 
index 78e17ab18db470c376cbf51aa7db838388f4040c..d05cb680711cba84c0b51af8db034a50b7193ce4 100644 (file)
@@ -776,6 +776,7 @@ public abstract class GlobalSearchScope extends SearchScope implements ProjectAw
     /**
      * @deprecated use {@link GlobalSearchScope#filesScope(Project, Collection)}
      */
+    @Deprecated
     public FilesScope(@Nullable Project project, @NotNull Collection<VirtualFile> files) {
       this(project, files, null, false);
     }
index 285d9f864c1990d7cfa2c9a0e261d8859436dcf5..9e5c985ae9636886e01252243dfe6e3f0c679a58 100644 (file)
@@ -531,6 +531,7 @@ public class PsiUtilCore {
   /**
    * @deprecated use CompletionUtil#getOriginalElement where appropriate instead
    */
+  @Deprecated
   @Nullable
   public static <T extends PsiElement> T getOriginalElement(@NotNull T psiElement, final Class<? extends T> elementClass) {
     final PsiFile psiFile = psiElement.getContainingFile();
index 3a767a71bc8ea1d25504e0cf797d3915491dd8f7..a82f4cb7e7699ca3ba88baad0486981b1a54fe73 100644 (file)
@@ -170,6 +170,7 @@ public class UsageInfo {
    * @deprecated for the range in element use {@link #getRangeInElement} instead,
    *             for the whole text range in the file covered by this usage info, use {@link #getSegment()}
    */
+  @Deprecated
   public TextRange getRange() {
     return getRangeInElement();
   }
index 3cef1337ba4b14185940ae47939405051eae73fc..e5502cf481ca1ed8401910f86e7f06fa2fbdfda5 100644 (file)
@@ -151,6 +151,7 @@ public class IdeaPluginDescriptorImpl implements IdeaPluginDescriptor {
   }
 
   /** @deprecated changing a plugin path after loading is not expected (to be removed in IDEA 2019) */
+  @Deprecated
   public void setPath(@SuppressWarnings("unused") File path) { }
 
   public void readExternal(@NotNull Document document, @NotNull URL url, @NotNull JDOMXIncluder.PathResolver pathResolver) throws InvalidDataException {
@@ -556,11 +557,13 @@ public class IdeaPluginDescriptorImpl implements IdeaPluginDescriptor {
   }
 
   /** @deprecated doesn't make sense for installed plugins; use PluginNode#getDownloads (to be removed in IDEA 2019) */
+  @Deprecated
   public String getDownloads() {
     return null;
   }
 
   /** @deprecated doesn't make sense for installed plugins; use PluginNode#getDate (to be removed in IDEA 2019) */
+  @Deprecated
   public long getDate() {
     return 0;
   }
index a326a7805a12c73b3d57af8dbe2e94cc9880fe14..c214eaee5889697ab8e5e5bd735d97cb9e03034e 100644 (file)
@@ -25,6 +25,7 @@ public class OrFilter implements ElementFilter {
   private final List<ElementFilter> myFilters;
 
   /** @deprecated use {@link #OrFilter(ElementFilter...)} */
+  @Deprecated
   public OrFilter() {
     myFilters = new SmartList<>();
   }
@@ -34,6 +35,7 @@ public class OrFilter implements ElementFilter {
   }
 
   /** @deprecated use {@link #OrFilter(ElementFilter...)} */
+  @Deprecated
   public void addFilter(ElementFilter filter) {
     myFilters.add(filter);
   }
index 9ad0648dd98cbf223ab08d92c318fd7accde5e58..6fbd24aa99a47f7d7116449a0e1d478afa19b635 100644 (file)
@@ -23,6 +23,7 @@ import org.jetbrains.annotations.NotNull;
  * @author Roman.Chernyatchik
  * @deprecated use {@link PsiTreeChangePreprocessorBase} instead
  */
+@Deprecated
 public abstract class AbstractModificationTracker implements PsiTreeChangePreprocessor {
   private final PsiManagerImpl myPsiManager;
   private PsiModificationTrackerImpl myModificationTracker;
index 5a768977b40883165898647ccbe55a2db83d7fd2..3330e183a4e4c4068007d4db122a36776642d78b 100644 (file)
@@ -118,6 +118,7 @@ public class MetaRegistry extends MetaDataRegistrar {
    * @see com.intellij.psi.meta.MetaDataContributor
    * @deprecated
    */
+  @Deprecated
   public static <T extends PsiMetaData> void addMetadataBinding(ElementFilter filter,
                                                                 Class<T> aMetadataClass,
                                                                 Disposable parentDisposable) {
@@ -135,6 +136,7 @@ public class MetaRegistry extends MetaDataRegistrar {
    * @see com.intellij.psi.meta.MetaDataContributor
    * @deprecated
    */
+  @Deprecated
   public static <T extends PsiMetaData> void addMetadataBinding(ElementFilter filter, Class<T> aMetadataClass) {
     addBinding(new MyBinding(filter, aMetadataClass));
   }
index 67da55d977868c4f02db9ad9689816de1ec47c93..175868873267b77d6dbd0f94686c9c2dbdfcb5a7 100644 (file)
@@ -25,6 +25,7 @@ public abstract class DataManager {
    * @return {@link DataContext} constructed by the current focused component
    * @deprecated use either {@link #getDataContext(Component)} or {@link #getDataContextFromFocus()}
    */
+  @Deprecated
   @NotNull
   public abstract DataContext getDataContext();
 
index a9ecff1cb8ba8f0dbc4a7632c533800a94c3752c..18f5368ca165780a381f9a20ceaf866bf2db8e92 100644 (file)
@@ -81,6 +81,7 @@ public class PresentationData implements ColoredItemPresentation, ComparableObje
   /**
    * @deprecated Use {@link #PresentationData(String, String, Icon, TextAttributesKey)} instead.
    */
+  @Deprecated
   public PresentationData(String presentableText, String locationString, Icon openIcon, Icon closedIcon,
                           @Nullable TextAttributesKey attributesKey) {
     this(presentableText, locationString, closedIcon, attributesKey);
@@ -148,6 +149,7 @@ public class PresentationData implements ColoredItemPresentation, ComparableObje
    *             Sets the icon shown for the node when it is collapsed in a tree, or when it is displayed
    *             in a non-tree view.
    */
+  @Deprecated
   public void setClosedIcon(Icon closedIcon) {
     setIcon(closedIcon);
   }
@@ -171,6 +173,7 @@ public class PresentationData implements ColoredItemPresentation, ComparableObje
    *             Sets both the open and closed icons of the node to the specified icon.
    */
 
+  @Deprecated
   public void setIcons(Icon icon) {
     setIcon(icon);
   }
index 6c78cc4f449c6c0589dac8fcea1137bb0119a6cf..481390f22c28c430b6e792defcb46435f32b38a3 100644 (file)
@@ -180,6 +180,7 @@ public abstract class AbstractTreeNode<T> extends PresentableNodeDescriptor<Abst
    * @deprecated use toTestString
    * @return
    */
+  @Deprecated
   @Nullable
   @NonNls public String getTestPresentation() {
     if (myName != null) {
@@ -242,6 +243,7 @@ public abstract class AbstractTreeNode<T> extends PresentableNodeDescriptor<Abst
   /**
    * @deprecated use {@link #getPresentation()} instead
    */
+  @Deprecated
   protected String getToolTip() {
     return getPresentation().getTooltip();
   }
@@ -249,6 +251,7 @@ public abstract class AbstractTreeNode<T> extends PresentableNodeDescriptor<Abst
   /**
    * @deprecated use {@link #getPresentation()} instead
    */
+  @Deprecated
   @Nullable
   public TextAttributesKey getAttributesKey() {
     return getPresentation().getTextAttributesKey();
@@ -257,6 +260,7 @@ public abstract class AbstractTreeNode<T> extends PresentableNodeDescriptor<Abst
   /**
    * @deprecated use {@link #getPresentation()} instead
    */
+  @Deprecated
   @Nullable
   public String getLocationString() {
     return getPresentation().getLocationString();
index 9b557721d6446b7434e30dea14a95276a293805d..657c2b47bf01f77f203ca56521a7d0bcf1493189 100644 (file)
@@ -161,6 +161,7 @@ public abstract class EditorFactory {
    * and released.
    * @deprecated use the {@link #addEditorFactoryListener(EditorFactoryListener, Disposable)} instead
    */
+  @Deprecated
   public abstract void addEditorFactoryListener(@NotNull EditorFactoryListener listener);
 
   /**
@@ -174,6 +175,7 @@ public abstract class EditorFactory {
    * and released.
    * @deprecated you should have used the {@link #addEditorFactoryListener(EditorFactoryListener, Disposable)} instead
    */
+  @Deprecated
   public abstract void removeEditorFactoryListener(@NotNull EditorFactoryListener listener);
 
   /**
index 47c7408247e0c844a34381f5c536b16146a53565..4786f63d0223d331270c40a009b9275bd94e4edd 100644 (file)
@@ -38,7 +38,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code false} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final boolean visualPositionAware = false;
+  @Deprecated public final boolean visualPositionAware = false;
 
   /**
    * @deprecated Not used by platform code since 2018.2.
@@ -46,7 +46,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code 0} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final int softWrapLinesBeforeCurrentLogicalLine = 0;
+  @Deprecated public final int softWrapLinesBeforeCurrentLogicalLine = 0;
 
   /**
    * @deprecated Not used by platform code since 2018.2.
@@ -54,7 +54,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code 0} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final int softWrapLinesOnCurrentLogicalLine = 0;
+  @Deprecated public final int softWrapLinesOnCurrentLogicalLine = 0;
 
   /**
    * @deprecated Not used by platform code since 2018.2.
@@ -62,7 +62,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code 0} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final int softWrapColumnDiff = 0;
+  @Deprecated public final int softWrapColumnDiff = 0;
 
   /**
    * @deprecated Not used by platform code since 2018.2.
@@ -70,7 +70,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code 0} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final int foldedLines = 0;
+  @Deprecated public final int foldedLines = 0;
 
   /**
    * @deprecated Not used by platform code since 2018.2.
@@ -78,7 +78,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code 0} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final int foldingColumnDiff = 0;
+  @Deprecated public final int foldingColumnDiff = 0;
 
   /**
    * If {@code true}, this position is associated with succeeding character (in logical order), otherwise it's associated with
@@ -95,7 +95,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             Always {@code false} since 2018.2.
    *             To be removed in 2019.2.
    */
-  public final boolean visualPositionLeansRight = false;
+  @Deprecated public final boolean visualPositionLeansRight = false;
 
   public LogicalPosition(int line, int column) throws IllegalArgumentException {
     this(line, column, false);
@@ -113,6 +113,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    * @deprecated Use {@link #LogicalPosition(int, int)} instead.
    *             Additional fields are not used since 2018.2. To be removed in 2019.2.
    */
+  @Deprecated
   @SuppressWarnings("unused")
   public LogicalPosition(int line, int column, int softWrapLinesBeforeCurrentLogicalLine, int softWrapLinesOnCurrentLogicalLine,
                          int softWrapColumnDiff, int foldedLines, int foldingColumnDiff) throws IllegalArgumentException {
@@ -123,6 +124,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    * @deprecated Use {@link #LogicalPosition(int, int, boolean)} instead.
    *             Additional fields are not used since 2018.2. To be removed in 2019.2.
    */
+  @Deprecated
   @SuppressWarnings("unused")
   public LogicalPosition(int line, int column, int softWrapLinesBeforeCurrentLogicalLine, int softWrapLinesOnCurrentLogicalLine,
                          int softWrapColumnDiff, int foldedLines, int foldingColumnDiff, boolean leansForward,
@@ -139,6 +141,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    *             To convert logical to visual position, use {@link Editor#logicalToVisualPosition(LogicalPosition)}.
    *             To be removed in 2019.2.
    */
+  @Deprecated
   public VisualPosition toVisualPosition() {
     return new VisualPosition(line, column);
   }
@@ -149,6 +152,7 @@ public class LogicalPosition implements Comparable<LogicalPosition> {
    * 
    * @deprecated Not needed since 2018.2 (just returns {@code this}). To be removed in 2019.2.
    */
+  @Deprecated
   public LogicalPosition withoutVisualPositionInfo() {
     return this;
   }
index 69e3ecaffb603b743d4c108d73d153fd87ba7610..c01cc7d01c2613bc49a3358e6bccdc26a36c1a9d 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.openapi.editor.colors.TextAttributesKey;
  * @author yole
  * @deprecated Use {@link DefaultLanguageHighlighterColors} to inherit default attributes.
  */
+@Deprecated
 public class SyntaxHighlighterColors {
   public static final TextAttributesKey LINE_COMMENT = DefaultLanguageHighlighterColors.LINE_COMMENT;
   public static final TextAttributesKey JAVA_BLOCK_COMMENT = DefaultLanguageHighlighterColors.BLOCK_COMMENT;
index f513b8122dfb4e23051b7528425e4195e73fe2f1..f6e4b770474ef1c75327f7dfda63002723222a35 100644 (file)
@@ -36,7 +36,7 @@ public interface SyntaxHighlighter {
    * @see SyntaxHighlighterFactory#getSyntaxHighlighter(com.intellij.openapi.project.Project, com.intellij.openapi.vfs.VirtualFile)
    * @see SyntaxHighlighterFactory#getSyntaxHighlighter(com.intellij.lang.Language, com.intellij.openapi.project.Project, com.intellij.openapi.vfs.VirtualFile)
    */
-  SyntaxHighlighterProvider PROVIDER =
+  @Deprecated SyntaxHighlighterProvider PROVIDER =
     new FileTypeExtensionFactory<>(SyntaxHighlighterProvider.class, EP_NAME).get();
 
   /**
index b82be165e4b3792f1076cc3aeb57ddda4cb56d37..2dcf67e8c1475e5daa774e22dad47a8703984fb1 100644 (file)
@@ -47,6 +47,7 @@ public interface ExternalSystemExecutionConsoleManager<
   /**
    * @deprecated use {@link ExternalSystemExecutionConsoleManager#attachExecutionConsole(Project, ExternalSystemTask, ExecutionEnvironment, ProcessHandler)}
    */
+  @Deprecated
   @Nullable
   default ExternalSystemExecutionConsole attachExecutionConsole(@NotNull ExternalSystemTask task,
                                                                 @NotNull Project project,
index 8428b82b66b79c49db1103404ef394c2a215cdf8..e7d6309f2de5230c89f9cba563d1985f6db19357 100644 (file)
@@ -88,6 +88,7 @@ public class ModuleData extends AbstractNamedData implements Named, ExternalConf
   /**
    * @deprecated the result of the method can be incorrect for modules with duplicated names, consider to use getModuleFileDirectoryPath instead
    */
+  @Deprecated
   @NotNull
   public String getModuleFilePath() {
     return ExternalSystemApiUtil
index abcbdea1c977314adc4b2cbdbb1222dc7b1f9627..48aba6d6f3b221d5a8000a7ea18f3ac724f60023 100644 (file)
@@ -17,6 +17,7 @@ public interface ExternalSystemTaskNotificationListener {
   /**
    * @deprecated use {@link #onStart(ExternalSystemTaskId, String)}
    */
+  @Deprecated
   void onQueued(@NotNull ExternalSystemTaskId id, String workingDir);
 
   /**
@@ -33,6 +34,7 @@ public interface ExternalSystemTaskNotificationListener {
   /**
    * @deprecated use {@link #onStart(ExternalSystemTaskId, String)}
    */
+  @Deprecated
   void onStart(@NotNull ExternalSystemTaskId id);
 
   /**
index 276a2512b1b3112962852e266895be9c2022a9b7..01fe675c3dbcd980f51f7b77b67e7b1caa3c87c5 100644 (file)
@@ -25,6 +25,7 @@ public abstract class ExternalSystemTaskNotificationListenerAdapter implements E
   /**
    * @deprecated use {@link #onStart(ExternalSystemTaskId, String)}
    */
+  @Deprecated
   public void onQueued(@NotNull ExternalSystemTaskId id, String workingDir) {
     if (myDelegate != null) {
       myDelegate.onQueued(id, workingDir);
@@ -45,6 +46,7 @@ public abstract class ExternalSystemTaskNotificationListenerAdapter implements E
   /**
    * @deprecated use {@link #onStart(ExternalSystemTaskId, String)}
    */
+  @Deprecated
   public void onStart(@NotNull ExternalSystemTaskId id) {
     if (myDelegate != null) {
       myDelegate.onStart(id);
index ff8c29c739e765254f911df17fe61e206a3e61d3..7cd26803e30d650a65d7961fb42c5600ad3f839c 100644 (file)
@@ -63,5 +63,6 @@ public interface ParametersEnhancer {
    *
    * @param urls
    */
+  @Deprecated
   default void enhanceLocalProcessing(@NotNull List<URL> urls) {}
 }
\ No newline at end of file
index 249765228b289eeaacc5aa68c178a9eb82cbe033..d4c9a0aa71749e7a96e721f6e9ad647916b3d023 100644 (file)
@@ -30,6 +30,7 @@ import java.util.List;
  *
  * @deprecated use {@link ExternalSystemTaskManager} interface
  */
+@Deprecated
 public abstract class AbstractExternalSystemTaskManager<S extends ExternalSystemExecutionSettings> implements ExternalSystemTaskManager<S> {
 
   public abstract void executeTasks(@NotNull ExternalSystemTaskId id,
index a3b981173d8b6ac1751693db3ab503d89448fafa..90525eb0f52febbaf9c123faeece5994d260d0f5 100644 (file)
@@ -36,6 +36,7 @@ public interface ExternalSystemTaskManager<S extends ExternalSystemExecutionSett
   /**
    * @deprecated use {@link ExternalSystemTaskManager#executeTasks(ExternalSystemTaskId, List, String, ExternalSystemExecutionSettings, String, ExternalSystemTaskNotificationListener)}
    */
+  @Deprecated
   default void executeTasks(@NotNull ExternalSystemTaskId id,
                             @NotNull List<String> taskNames,
                             @NotNull String projectPath,
index 44485e0d1cecaaa2978c115c6f62ef27206504ec..ce966cb5ce8ac623674336ec4e08200b65dce2c8 100644 (file)
@@ -70,6 +70,7 @@ public class ExternalSystemExecuteTaskTask extends AbstractExternalSystemTask {
   /**
    * @deprecated use {@link #ExternalSystemExecuteTaskTask(Project, ExternalSystemTaskExecutionSettings, String)}
    */
+  @Deprecated
   public ExternalSystemExecuteTaskTask(@NotNull ProjectSystemId externalSystemId,
                                        @NotNull Project project,
                                        @NotNull List<ExternalTaskPojo> tasksToExecute,
index 1fb30c787eb5622b7d61eb899e8afd7ddeeb3388..08d163c377fb38bf30d30ec672e647ddfdaacbc2 100644 (file)
@@ -104,6 +104,7 @@ public class ExternalSystemNotificationManager implements Disposable {
   /**
    * @deprecated build tool window should be used to display 'sync' errors
    */
+  @Deprecated
   public void processExternalProjectRefreshError(@NotNull Throwable error,
                                                  @NotNull String externalProjectName,
                                                  @NotNull ProjectSystemId externalSystemId) {
@@ -125,6 +126,7 @@ public class ExternalSystemNotificationManager implements Disposable {
   /**
    * @deprecated to be removed in 2018.2
    */
+  @Deprecated
   @NotNull
   public NotificationData createNotification(@NotNull Throwable error,
                                              @NotNull String externalProjectName,
index 37fc4f8f27aaf97ba3203cb52dab7c4dcd82ebe4..e2809706cfab405ad597d27e46bbafb46239f70d 100644 (file)
@@ -30,6 +30,7 @@ import java.util.Collection;
 /**
  * @deprecated use {@link com.intellij.openapi.externalSystem.service.project.ProjectDataManager} instead
  */
+@Deprecated
 public class ProjectDataManager extends ProjectDataManagerImpl {
 
   public static ProjectDataManager getInstance() {
index c0443c794d442b7846839af8f44f93cb056214ca..26a3dca3e2bdfe832d1ed96746f51fe05a961561 100644 (file)
@@ -70,6 +70,7 @@ public abstract class AbstractExternalProjectImportBuilder<C extends AbstractImp
   /**
    * @deprecated use {@link AbstractExternalProjectImportBuilder#AbstractExternalProjectImportBuilder(ProjectDataManager, AbstractImportFromExternalSystemControl, ProjectSystemId)}
    */
+  @Deprecated
   public AbstractExternalProjectImportBuilder(@NotNull com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManager projectDataManager,
                                               @NotNull C control,
                                               @NotNull ProjectSystemId externalSystemId) {
index 2a81f54f49065753b2598608e129541b98c32c3f..8ee0556f954d38a75fd95d83cceed156acc9f456 100644 (file)
@@ -77,6 +77,7 @@ public interface RemoteExternalSystemTaskManager<S extends ExternalSystemExecuti
   /**
    * @deprecated use {@link RemoteExternalSystemTaskManager#executeTasks(ExternalSystemTaskId, List, String, ExternalSystemExecutionSettings, String)}
    */
+  @Deprecated
   default void executeTasks(@NotNull ExternalSystemTaskId id,
                             @NotNull List<String> taskNames,
                             @NotNull String projectPath,
index baaeb21552041b8f244839c29341b584b4810f42..692843705a8793c75bec044fecbe539e4d63de58 100644 (file)
@@ -12,6 +12,7 @@ import org.jetbrains.annotations.Nullable;
  * @deprecated todo remove in IDEA 16
  * use com.intellij.psi.ResolveScopeProvider
  */
+@Deprecated
 public abstract class SdkResolveScopeProvider {
   public static final ExtensionPointName<SdkResolveScopeProvider> EP_NAME =
     ExtensionPointName.create("com.intellij.sdkResolveScopeProvider");
index 8b747c30c911db426c1f231436270cf524ee3874..84b3c6cf5b28355f8233b89ef31cf303e07c111a 100644 (file)
@@ -27,6 +27,7 @@ public interface PsiSearchHelper {
     /**
      * @deprecated please use {@link PsiSearchHelper#getInstance(Project)}
      */
+    @Deprecated
     public static PsiSearchHelper getInstance(@NotNull Project project) {
       return PsiSearchHelper.getInstance(project);
     }
index a0e8c7e47b7e177cee83f7e730c306fa64615196..15c6a67886cebe887645f4aac22dc1de22e45a14 100644 (file)
@@ -49,6 +49,7 @@ public abstract class StubIndex {
   /**
    * @deprecated use {@link #getElements(StubIndexKey, Object, com.intellij.openapi.project.Project, com.intellij.psi.search.GlobalSearchScope, Class)}
    */
+  @Deprecated
   public abstract <Key, Psi extends PsiElement> Collection<Psi> get(@NotNull StubIndexKey<Key, Psi> indexKey,
                                                                     @NotNull Key key,
                                                                     @NotNull Project project,
@@ -57,22 +58,24 @@ public abstract class StubIndex {
   /**
    * @deprecated use {@link #getElements(StubIndexKey, Object, com.intellij.openapi.project.Project, com.intellij.psi.search.GlobalSearchScope, Class)}
    */
+  @Deprecated
   public <Key, Psi extends PsiElement> Collection<Psi> get(@NotNull StubIndexKey<Key, Psi> indexKey,
-                                                                    @NotNull Key key,
-                                                                    @NotNull Project project,
-                                                                    @Nullable final GlobalSearchScope scope,
-                                                                    IdFilter filter) {
+                                                           @NotNull Key key,
+                                                           @NotNull Project project,
+                                                           @Nullable final GlobalSearchScope scope,
+                                                           IdFilter filter) {
     return get(indexKey, key, project, scope);
   }
 
   /**
    * @deprecated use processElements
    */
+  @Deprecated
   public <Key, Psi extends PsiElement> boolean process(@NotNull StubIndexKey<Key, Psi> indexKey,
-                                                                @NotNull Key key,
-                                                                @NotNull Project project,
-                                                                @Nullable GlobalSearchScope scope,
-                                                                @NotNull Processor<? super Psi> processor) {
+                                                       @NotNull Key key,
+                                                       @NotNull Project project,
+                                                       @Nullable GlobalSearchScope scope,
+                                                       @NotNull Processor<? super Psi> processor) {
     return processElements(indexKey, key, project, scope, (Class<Psi>)PsiElement.class, processor);
   }
 
@@ -86,12 +89,13 @@ public abstract class StubIndex {
   /**
    * @deprecated use processElements
    */
+  @Deprecated
   public <Key, Psi extends PsiElement> boolean process(@NotNull StubIndexKey<Key, Psi> indexKey,
-                                                                @NotNull Key key,
-                                                                @NotNull Project project,
-                                                                @Nullable GlobalSearchScope scope,
-                                                                @SuppressWarnings("UnusedParameters") IdFilter idFilter,
-                                                                @NotNull Processor<? super Psi> processor) {
+                                                       @NotNull Key key,
+                                                       @NotNull Project project,
+                                                       @Nullable GlobalSearchScope scope,
+                                                       @SuppressWarnings("UnusedParameters") IdFilter idFilter,
+                                                       @NotNull Processor<? super Psi> processor) {
     return process(indexKey, key, project, scope, processor);
   }
 
@@ -118,6 +122,7 @@ public abstract class StubIndex {
   /**
    * @deprecated use {@link #getElements(StubIndexKey, Object, com.intellij.openapi.project.Project, com.intellij.psi.search.GlobalSearchScope, Class)}
    */
+  @Deprecated
   public <Key, Psi extends PsiElement> Collection<Psi> safeGet(@NotNull StubIndexKey<Key, Psi> indexKey,
                                                                @NotNull Key key,
                                                                @NotNull final Project project,
index 0340edcfd7ca3c70da996dd62f6d9f388f4d16b0..496af60c228108f1c88990f1f6445c25f01f13f5 100644 (file)
@@ -474,7 +474,7 @@ public class CodeStyleSettings extends LegacyCodeStyleSettings
   /**
    * @deprecated Use get/setRightMargin() methods instead.
    */
-  @SuppressWarnings("DeprecatedIsStillUsed")
+  @SuppressWarnings({"DeprecatedIsStillUsed", "MissingDeprecatedAnnotation"})
   public int RIGHT_MARGIN = 120;
   /**
    * <b>Do not use this field directly since it doesn't reflect a setting for a specific language which may
index b9a074fcd73b5a530e8fe9918ec9f0ed06e024bd..82d2acb16b0dc46f70bde123ef250f4624467153 100644 (file)
@@ -144,7 +144,7 @@ public class CodeInsightSettings implements PersistentStateComponent<Element>, C
   /**
    * @deprecated use {@link CodeInsightWorkspaceSettings#optimizeImportsOnTheFly}
    */
-  public boolean OPTIMIZE_IMPORTS_ON_THE_FLY;
+  @SuppressWarnings("MissingDeprecatedAnnotation") public boolean OPTIMIZE_IMPORTS_ON_THE_FLY;
 
   public boolean ADD_UNAMBIGIOUS_IMPORTS_ON_THE_FLY;
   public boolean ADD_MEMBER_IMPORTS_ON_THE_FLY = true;
index 2e282bbde05eb81821e6784cb5d580f79528b5ed..9ebf8e1adc03adc19332f0057db4e77e5fefeffa 100644 (file)
@@ -47,6 +47,7 @@ import static com.intellij.patterns.StandardPatterns.not;
 /**
  * @deprecated see {@link CompletionContributor}
  */
+@Deprecated
 @SuppressWarnings("deprecation")
 public class CompletionData {
   private static final Logger LOG = Logger.getInstance("#com.intellij.codeInsight.completion.CompletionData");
@@ -69,6 +70,7 @@ public class CompletionData {
    * @deprecated 
    * @see CompletionContributor
    */
+  @Deprecated
   protected void registerVariant(CompletionVariant variant){
     myCompletionVariants.add(variant);
   }
index ae086c69c3429bd129918693ab860d1c1f6392b4..a0c28f65a70a102db8b74e303fdf0b1e3ca2e435 100644 (file)
@@ -197,6 +197,7 @@ public class PsiElementListNavigator {
   /**
    * @deprecated use {@link #navigateOrCreatePopup(NavigatablePsiElement[], String, String, ListCellRenderer, BackgroundUpdaterTask, Consumer)}
    */
+  @Deprecated
   @Nullable
   public static JBPopup navigateOrCreatePopup(@NotNull final NavigatablePsiElement[] targets,
                                               final String title,
@@ -211,6 +212,7 @@ public class PsiElementListNavigator {
   /**
    * @deprecated use {@link #openTargets(Editor, NavigatablePsiElement[], String, String, ListCellRenderer, BackgroundUpdaterTask)} instead
    */
+  @Deprecated
   public static void openTargets(Editor e, NavigatablePsiElement[] targets, String title, final String findUsagesTitle,
                                  ListCellRenderer listRenderer, @Nullable ListBackgroundUpdaterTask listUpdaterTask) {
     openTargets(e, targets, title, findUsagesTitle, listRenderer, (BackgroundUpdaterTask)listUpdaterTask);
@@ -219,6 +221,7 @@ public class PsiElementListNavigator {
   /**
    * @deprecated use {@link #openTargets(MouseEvent, NavigatablePsiElement[], String, String, ListCellRenderer, BackgroundUpdaterTask)} instead
    */
+  @Deprecated
   public static void openTargets(MouseEvent e,
                                  NavigatablePsiElement[] targets,
                                  String title,
index 9497ba324ffe4b8d702a1607e100ae961ff48eb5..2db38b3349fa18396ce48a592ed1498b58ad3030 100644 (file)
@@ -27,7 +27,6 @@ import com.intellij.openapi.project.Project;
 import com.intellij.openapi.ui.Messages;
 import com.intellij.psi.PsiComment;
 import com.intellij.psi.PsiElement;
-import com.intellij.psi.PsiWhiteSpace;
 import com.intellij.psi.util.PsiTreeUtil;
 import com.intellij.util.IncorrectOperationException;
 import org.jetbrains.annotations.NotNull;
@@ -41,6 +40,7 @@ import java.util.List;
  * @date Aug 13, 2009
  * @deprecated use {@link AbstractBatchSuppressByNoInspectionCommentFix} and {@link com.intellij.codeInspection.SuppressIntentionActionFromFix}
  */
+@Deprecated
 public abstract class AbstractSuppressByNoInspectionCommentFix extends SuppressIntentionAction {
   @NotNull protected final String myID;
   private final boolean myReplaceOtherSuppressionIds;
index 5ab161208edcf6fa8f17bf47e556016a09e1b1f5..154095fd08f67dc26e07a2bd7df4eb08d78264b3 100644 (file)
@@ -50,6 +50,7 @@ public class ShowParameterInfoHandler implements CodeInsightActionHandler {
   /**
    * @deprecated use {@link #invoke(Project, Editor, PsiFile, int, PsiElement, boolean)} instead
    */
+  @Deprecated
   public static void invoke(final Project project, final Editor editor, PsiFile file, int lbraceOffset, PsiElement highlightedElement) {
     invoke(project, editor, file, lbraceOffset, highlightedElement, false);
   }
index f2a4f3c5dd5efd4236ab2394d722fb0df267f50a..cc812d6d67235d8c096ec21449931cdac3c25482 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.openapi.project.Project;
  * @author Maxim.Mossienko
  * @deprecated use InsertHandler
  */
+@Deprecated
 public interface DeferredUserLookupValue<T> extends PresentableLookupValue {
   boolean handleUserSelection(LookupItem<T> item, Project project);
 }
index 83fce71db19d746e582a4664980153bc7d3f4985..4e7c5ef74d80d81e691203b81a86be30ecd84637 100644 (file)
@@ -68,6 +68,7 @@ public class LookupItem<T> extends MutableLookupElement<T> implements Comparable
   /**
    * @deprecated use {@link LookupElementBuilder}
    */
+  @Deprecated
   public LookupItem(T o, @NotNull @NonNls String lookupString) {
     setObject(o);
     setLookupString(lookupString);
@@ -76,6 +77,7 @@ public class LookupItem<T> extends MutableLookupElement<T> implements Comparable
   /**
    * @deprecated use {@link LookupElementBuilder}
    */
+  @Deprecated
   public static LookupItem fromString(String s) {
     return new LookupItem<>(s, s);
   }
index 1961926272b29c1b8cf260e17964acd4b65c3c9e..baa5b9665060bab6de492b6284a3d4a6a2b7b84d 100644 (file)
@@ -24,6 +24,7 @@ import java.awt.*;
  * @author maxim
  * @deprecated use InsertHandler
  */
+@Deprecated
 public interface LookupValueWithUIHint extends PresentableLookupValue {
   @Nullable
   String getTypeHint();
index ccb253b00c0f616ff5a6e5292c6f439658eae7f1..1a31f458cb37522d7c77a4de88e8321efa30ac5f 100644 (file)
@@ -20,6 +20,7 @@ package com.intellij.codeInsight.lookup;
  * @author maxim
  * @deprecated use LookupElementBuilder
  */
+@Deprecated
 public interface PresentableLookupValue {
   String getPresentation();
 }
index 2a558e57a10dfada7b23cfc4e6f6e00399b911c8..2092f810f8d15b9ff5326613a2492b696beddbcf 100644 (file)
@@ -102,6 +102,7 @@ public abstract class BackgroundUpdaterTask extends Task.Backgroundable {
   /**
    * @deprecated Use {@link #BackgroundUpdaterTask(Project, String, Comparator)} and {@link #updateComponent(PsiElement)} instead
    */
+  @Deprecated
   public boolean updateComponent(@NotNull PsiElement element, @Nullable Comparator comparator) {
     final UsageView view = myUsageView.get();
     if (view != null && !((UsageViewImpl)view).isDisposed()) {
index ab9009466c729111edcf6b3a3e75d6e7edcdef25..e45d365db67b0a973f3bb5c5930a84b237389bf5 100644 (file)
@@ -250,6 +250,7 @@ public abstract class GotoTargetHandler implements CodeInsightActionHandler {
   /**
    * @deprecated, use getChooserTitle(PsiElement, String, int, boolean) instead
    */
+  @Deprecated
   @NotNull
   protected String getChooserTitle(PsiElement sourceElement, String name, int length) {
     LOG.warn("Please override getChooserTitle(PsiElement, String, int, boolean) instead");
index 8f68fb1f2fa2a5bcf9409fcc77196248665842da..70a3dd82c1c8e24e1f65196eae0851c26caeda52 100644 (file)
@@ -39,6 +39,7 @@ public abstract class ListBackgroundUpdaterTask extends BackgroundUpdaterTask {
   /**
    * @deprecated Use {@link #ListBackgroundUpdaterTask(Project, String, Comparator)}
    */
+  @Deprecated
   public ListBackgroundUpdaterTask(@Nullable final Project project, @NotNull final String title) {
     this(project, title, null);
   }
index a56d8fbad2e8953d9256800c440289c5b4248407..7de245f793f41f123d03b10b161ded82f2a6ede0 100644 (file)
@@ -72,6 +72,7 @@ public interface TemplateOptionalProcessor {
   /**
    * @deprecated Please override {@link #isVisible(Template, TemplateContext)}
    */
+  @Deprecated
   @SuppressWarnings("unused")
   default boolean isVisible(final Template template) {
     return true;
index b79814ac84635d563807ca64139f21c2c8744007..ad57aa69047e6047e6a0b5772d4a36e3863fa499 100644 (file)
@@ -1039,6 +1039,7 @@ public class TemplateState implements Disposable {
   /**
    * @deprecated use this#gotoEnd(true)
    */
+  @Deprecated
   public void cancelTemplate() {
     if (isDisposed()) return;
     LookupManager.getInstance(myProject).hideActiveLookup();
index 89144f1fe1247972da156f8a29040568fe0ce625..b94945568e3a581a629489b992a9009b0748cf35 100644 (file)
@@ -32,7 +32,7 @@ public class PostfixTemplatesSettings implements PersistentStateComponent<Elemen
   /**
    * @deprecated use myProviderToDisabledTemplates
    */
-  private Map<String, Set<String>> myLangToDisabledTemplates = ContainerUtil.newHashMap();
+  @Deprecated private Map<String, Set<String>> myLangToDisabledTemplates = ContainerUtil.newHashMap();
 
   private boolean postfixTemplatesEnabled = true;
   private boolean templatesCompletionEnabled = true;
@@ -71,6 +71,7 @@ public class PostfixTemplatesSettings implements PersistentStateComponent<Elemen
   /**
    * @deprecated use getProviderToDisabledTemplates
    */
+  @Deprecated
   @NotNull
   @MapAnnotation(entryTagName = "disabled-postfix-templates", keyAttributeName = "lang", surroundWithTag = false)
   public Map<String, Set<String>> getLangDisabledTemplates() {
@@ -80,6 +81,7 @@ public class PostfixTemplatesSettings implements PersistentStateComponent<Elemen
   /**
    * @deprecated use setProviderToDisabledTemplates
    */
+  @Deprecated
   public void setLangDisabledTemplates(@NotNull Map<String, Set<String>> templatesState) {
     myLangToDisabledTemplates = templatesState;
   }
index 22c9c57334abe8058a854b35eb05f110e4355ae3..ef602be7794c6218d5c58d1c1e90a6618ce59a60 100644 (file)
@@ -35,6 +35,7 @@ public abstract class PostfixTemplate {
   /**
    * @deprecated use {@link #PostfixTemplate(String, String, String, PostfixTemplateProvider)}
    */
+  @Deprecated
   protected PostfixTemplate(@NotNull String name, @NotNull String example) {
     this(null, name, "." + name, example, null);
   }
@@ -49,6 +50,7 @@ public abstract class PostfixTemplate {
   /**
    * @deprecated use {@link #PostfixTemplate(String, String, String, String, PostfixTemplateProvider)}
    */
+  @Deprecated
   protected PostfixTemplate(@NotNull String name, @NotNull String key, @NotNull String example) {
     this(null, name, key, example, null);
   }
index 2427cb935e7a2bbafcd3c358de41fd6a5aa309e8..4606867769ff1096818362840a1e927945974273 100644 (file)
@@ -22,6 +22,7 @@ public abstract class PostfixTemplateWithExpressionSelector extends PostfixTempl
   /**
    * @deprecated use {@link #PostfixTemplateWithExpressionSelector(String, String, String, String, PostfixTemplateExpressionSelector, PostfixTemplateProvider)}
    */
+  @Deprecated
   protected PostfixTemplateWithExpressionSelector(@NotNull String name,
                                                   @NotNull String key,
                                                   @NotNull String example,
@@ -32,6 +33,7 @@ public abstract class PostfixTemplateWithExpressionSelector extends PostfixTempl
   /**
    * @deprecated use {@link #PostfixTemplateWithExpressionSelector(String, String, String, PostfixTemplateExpressionSelector, PostfixTemplateProvider)}
    */
+  @Deprecated
   protected PostfixTemplateWithExpressionSelector(@NotNull String name,
                                                   @NotNull String example,
                                                   @NotNull PostfixTemplateExpressionSelector selector) {
index 115a8b2d751304d40a9353b62cc06a4e2451649c..68ce7605743e3ca83a869d50a77f829c35754220 100644 (file)
@@ -18,6 +18,7 @@ public abstract class StringBasedPostfixTemplate extends PostfixTemplateWithExpr
   /**
    * @deprecated use {@link #StringBasedPostfixTemplate(String, String, PostfixTemplateExpressionSelector, PostfixTemplateProvider)}
    */
+  @Deprecated
   public StringBasedPostfixTemplate(@NotNull String name,
                                     @NotNull String example,
                                     @NotNull PostfixTemplateExpressionSelector selector) {
index 45a28537123245f63ac31c6a5e42f9753ba5c5d9..cefffa33707c6036e7808d149b82fd5c15e32830 100644 (file)
@@ -5,6 +5,7 @@ import org.jetbrains.annotations.NotNull;
 /**
  * @deprecated use {@link FileHyperlinkRawData} instead
  */
+@Deprecated
 public class FileHyperlinkParsedData {
 
   private final String myFilePath;
index 144af31ab914b98a351acc4daa2b7a874366922e..6fd8a886e3f0e8cb4be54a4c66b4ab74cdc1a2e5 100644 (file)
@@ -43,6 +43,7 @@ public class RerunTestsAction extends DumbAwareAction implements AnAction.Transp
   /**
    * @deprecated use {@link #register(RunContentDescriptor)} instead
    */
+  @Deprecated
   @SuppressWarnings("UnusedParameters")
   public static void register(@NotNull ExecutionEnvironment environment) {
   }
index 9a55264695ff080b4b12d1cc19ee94739b731d56..d5638a470cd685c6889d80bacbe68d7ac46b3bed 100644 (file)
@@ -160,6 +160,7 @@ public abstract class FindUsagesHandler {
   }
 
   /** @deprecated use/override {@link #isSearchForTextOccurrencesAvailable(PsiElement, boolean)} instead (to be removed in IDEA 18) */
+  @Deprecated
   @SuppressWarnings({"SpellCheckingInspection", "UnusedParameters"})
   protected boolean isSearchForTextOccurencesAvailable(@NotNull PsiElement psiElement, boolean isSingleFile) {
     return false;
index ca3c4cb7c9afd2654bba4496f40576b57c00c40e..9956a85b007f3352b1f4a6b577eb0bd3ffe7fa37 100644 (file)
@@ -94,7 +94,7 @@ public abstract class HierarchyBrowserBaseEx extends HierarchyBrowserBase implem
   };
 
   /** @deprecated use {@link #getCurrentViewType()} (to be removed in IDEA 2018) */
-  @SuppressWarnings("DeprecatedIsStillUsed")
+  @Deprecated @SuppressWarnings("DeprecatedIsStillUsed")
   protected String myCurrentViewType;
 
   private final Map<String, HierarchyTreeBuilder> myType2BuilderMap;
index 899403bc099c5c6d5d5af6154aeb00ff4460214f..39349ca555b271726ecf43339e2ee7696a96edc8 100644 (file)
@@ -99,6 +99,7 @@ public abstract class SelectInTargetPsiWrapper implements SelectInTarget {
   /**
    * @deprecated unused, implement canSelectInner(context) instead
    */
+  @Deprecated
   protected boolean canWorkWithCustomObjects() {
     return false;
   }
index 42823ed70ac93d77d9f5e41b61ea8a67880bc489..3c6c4f467d44d849d190a1fb4ad1d5eee1aa8cbf 100644 (file)
@@ -322,6 +322,7 @@ public abstract class PsiElementListCellRenderer<T extends PsiElement> extends J
   /**
    * @deprecated use {@link #installSpeedSearch(IPopupChooserBuilder)} instead
    */
+  @Deprecated
   public void installSpeedSearch(PopupChooserBuilder<?> builder) {
     installSpeedSearch((IPopupChooserBuilder)builder);
   }
@@ -329,6 +330,7 @@ public abstract class PsiElementListCellRenderer<T extends PsiElement> extends J
   /**
    * @deprecated use {@link #installSpeedSearch(IPopupChooserBuilder, boolean)} instead
    */
+  @Deprecated
   public void installSpeedSearch(PopupChooserBuilder<?> builder, boolean includeContainerText) {
     installSpeedSearch((IPopupChooserBuilder)builder, includeContainerText);
   }
index 7a73fc5dcfc487156756288e5c8dace8463bb3c6..ce1e05f2c397f308129ee856d8445f607949311f 100644 (file)
@@ -21,7 +21,7 @@ public class EnforcedPlainTextFileTypeFactory extends FileTypeFactory {
   /**
    * @deprecated use {@link #getEnforcedPlainTextIcon()} instead 
    */
-  public static final LayeredIcon ENFORCED_PLAIN_TEXT_ICON = new LayeredIcon();
+  @Deprecated public static final LayeredIcon ENFORCED_PLAIN_TEXT_ICON = new LayeredIcon();
   public static final String ENFORCED_PLAIN_TEXT = "Enforced Plain Text";
 
   private static final Icon ENFORCED_PLAIN_TEXT_LAZY_ICON = new IconLoader.LazyIcon() {
index c0d77546e83a27e2512974133b621397960f063c..11b8d25d7ebc44f3c498d9309bc3e2c24fd5f4d2 100644 (file)
@@ -27,6 +27,7 @@ import org.jetbrains.annotations.NotNull;
  * @author nik
  * @deprecated use {@link DescendentBasedRootFilter#createFileTypeBasedFilter(OrderRootType, boolean, FileType, String)} instead
  */
+@Deprecated
 public class FileTypeBasedRootFilter extends RootFilter {
   private final FileType myFileType;
   private final RootFilter myDelegate;
index 24a8af201011e55f4b7d1316e6d1d5325b1fc264..1f268ff71f8f6f2f05c9032e90c6c5c319fb4742 100644 (file)
@@ -21,6 +21,7 @@ public class FalseFilter implements ElementFilter {
   public static final FalseFilter INSTANCE = new FalseFilter(true);
 
   /** @deprecated use {@link #INSTANCE} */
+  @Deprecated
   public FalseFilter() { }
 
   private FalseFilter(@SuppressWarnings("unused") boolean b) { }
index f51c2d79badcf5d71ccdfb9d86e963a55f0b1747..01cc86c7f38ad904949adffdb81e2f08f5b508e3 100644 (file)
@@ -23,6 +23,7 @@ import com.intellij.psi.filters.FilterPositionUtil;
 /**
  * @deprecated please consider using {@link com.intellij.patterns.ElementPattern} or checks in code instead
  */
+@Deprecated
 public class LeftNeighbour extends PositionElementFilter{
 
   public LeftNeighbour(ElementFilter filter){
index c897be1d648dc44cb8562f793ddf49093bc84204..0f0553c258c9b6fe97116c853f37351b167db173 100644 (file)
@@ -23,6 +23,7 @@ import com.intellij.psi.PsiReferenceProvider;
  * @author Dmitry Avdeev
  * @deprecated use PsiReferenceProvider instead
  */
+@Deprecated
 public abstract class PsiReferenceProviderBase extends PsiReferenceProvider {
 
 }
index 512237e2ba5e22a6d2d881595bce7255c1a73543..c6750951af33a43531ac06a3cc1a6f9a0e1fddff 100644 (file)
@@ -12,10 +12,12 @@ import java.util.List;
 /**
  * @deprecated Use {@link MultiHostRegistrar} instead. to be removed in IDEA 2018.1
  */
+@Deprecated
 public abstract class MultiHostRegistrarImpl implements MultiHostRegistrar {
   /**
    * @deprecated to be removed in IDEA 2018.1
    */
+  @Deprecated
   public List<Pair<Place, PsiFile>> getResult() {
     throw new IllegalStateException();
   }
@@ -23,6 +25,7 @@ public abstract class MultiHostRegistrarImpl implements MultiHostRegistrar {
   /**
    * @deprecated Use {@link MultiHostRegistrar#startInjecting(Language)} instead. to be removed in IDEA 2018.1
    */
+  @Deprecated
   @NotNull
   @Override
   public MultiHostRegistrar startInjecting(@NotNull Language language) {
index 3a126f0e0294ac0047c11bf5c3ed6313d31a1e96..1512a8aeca7f808089efd2b728b2dcbd9da07b62 100644 (file)
@@ -28,7 +28,7 @@ public abstract class VisibilityPanelBase<V> extends JPanel {
    * @deprecated To be removed in 2018.2. Actually replaced by 'private'.
    * Use {@link #stateChanged(ChangeEvent)} instead. This field will become private.
    */
-  protected final EventDispatcher<ChangeListener> myEventDispatcher = EventDispatcher.create(ChangeListener.class);
+  @Deprecated protected final EventDispatcher<ChangeListener> myEventDispatcher = EventDispatcher.create(ChangeListener.class);
 
   @Nullable
   public abstract V getVisibility();
index 09541609c9b88601b7b5631e5134af928ad24bf2..899590a30722c37b8ecb93e7593db32e399167e9 100644 (file)
@@ -23,6 +23,7 @@ import org.jetbrains.annotations.NotNull;
 import java.util.List;
 
 /** @deprecated override SMTRunnerConsoleProperties.getTestLocator() instead (to be removed in IDEA 17) */
+@Deprecated
 public interface TestLocationProvider {
   @SuppressWarnings("deprecation") ExtensionPointName<TestLocationProvider> EP_NAME = ExtensionPointName.create("com.intellij.testSrcLocator");
 
index ddaf3fb7633ac35818991ba20c08e88236010746..35804212d270f0ed127ac16a6777738b08354942 100644 (file)
@@ -30,6 +30,7 @@ import javax.swing.tree.TreeNode;
  * @deprecated use HintUpdateSupply directly
  * @see HintUpdateSupply
  */
+@Deprecated
 public class JBTreeWithHintProvider extends DnDAwareTree {
   {
     HintUpdateSupply.installHintUpdateSupply(this, o -> getPsiElementForHint(o));
index ccb05acd10865d45f928db789dd79d4c9ec8c83e..e5787a21bc623cbfe94d683b0d69c276a69f6059 100644 (file)
@@ -97,6 +97,7 @@ public abstract class AbstractMessage {
   }
 
   /** @deprecated use {@link #getIncludedAttachments()} instead (to be removed in IDEA 2020) */
+  @Deprecated
   public List<Attachment> getAttachments() {
     return getIncludedAttachments();
   }
index 878bfdf488c01942b21a8ef2d86a78c282cfcbe2..92be46e6fba19e419adbd4f8e26321c1d348da06 100644 (file)
@@ -90,6 +90,7 @@ public class IdeMessagePanel extends JPanel implements MessagePoolListener, Icon
   }
 
   /** @deprecated use {@link #openErrorsDialog(LogMessage)} (to be removed in IDEA 2019) */
+  @Deprecated
   @SuppressWarnings("SpellCheckingInspection")
   public void openFatals(@Nullable LogMessage message) {
     openErrorsDialog(message);
index 299ee5f37c1dccd99221d9eb576cd7f73b1a6432..c692aad90b2b4266814f6a505452fca024b16baf 100644 (file)
@@ -9,6 +9,7 @@ import com.intellij.util.ArrayUtil;
 import org.jetbrains.annotations.NotNull;
 
 /** @deprecated use {@link RuntimeExceptionWithAttachments#RuntimeExceptionWithAttachments(String, String, Attachment...)} (to be removed in IDEA 2020) */
+@Deprecated
 @SuppressWarnings({"DeprecatedIsStillUsed", "unused"})
 public class LogEventException extends RuntimeException implements ExceptionWithAttachments {
   private final IdeaLoggingEvent myLogMessage;
index 54dd88553e873997e838642f04479165c817d58c..da082541909e3456fda520c9493b16ef7a9b0312 100644 (file)
@@ -60,6 +60,7 @@ public class LogMessage extends AbstractMessage {
   }
 
   /** @deprecated pass all attachments to {@link #createEvent(Throwable, String, Attachment...)} (to be removed in IDEA 2019) */
+  @Deprecated
   public synchronized void addAttachment(@NotNull Attachment attachment) {
     myAttachments.add(attachment);
   }
index ab8e9bd01a47d2525a957fa5ea954d5e524ab72f..120f0f1d0ab5883c807aa72b2f260aa8b764e97f 100644 (file)
@@ -12,9 +12,11 @@ import java.util.Collections;
 import java.util.List;
 
 /** @deprecated use {@link LogMessage} (to be removed in IDEA 2020) */
+@Deprecated
 @SuppressWarnings({"DeprecatedIsStillUsed", "unused"})
 public class LogMessageEx extends LogMessage {
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} or {@link LogMessage} (to be removed in IDEA 2020) */
+  @Deprecated
   public LogMessageEx(IdeaLoggingEvent event, String title, String notificationText) {
     super(event.getThrowable(), event.getMessage(), attachments(event));
   }
@@ -30,27 +32,32 @@ public class LogMessageEx extends LogMessage {
   }
 
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} (to be removed in IDEA 2020) */
+  @Deprecated
   public static IdeaLoggingEvent createEvent(String message, String details, Attachment... attachments) {
     return createEvent(new TextBasedThrowable(details), message, attachments);
   }
 
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} (to be removed in IDEA 2020) */
+  @Deprecated
   public static IdeaLoggingEvent createEvent(String message, String details, String title, String notificationText, Attachment attachment) {
     return createEvent(new TextBasedThrowable(details), message, attachment);
   }
 
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} (to be removed in IDEA 2020) */
+  @Deprecated
   public static IdeaLoggingEvent createEvent(String message, String details, String title, String notificationText, Collection<Attachment> attachments) {
     Attachment[] array = attachments != null ? attachments.toArray(Attachment.EMPTY_ARRAY) : Attachment.EMPTY_ARRAY;
     return createEvent(new TextBasedThrowable(details), message, array);
   }
 
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} and {@link AttachmentFactory#createContext} (to be removed in IDEA 2020) */
+  @Deprecated
   public static void error(@NotNull Logger logger, @NotNull String message, @NotNull String... attachmentText) {
     error(logger, message, new Throwable(), attachmentText);
   }
 
   /** @deprecated use {@link Logger#error(String, Throwable, Attachment...)} and {@link AttachmentFactory#createContext} (to be removed in IDEA 2020) */
+  @Deprecated
   public static void error(Logger logger, String message, Throwable cause, String... attachmentText) {
     StringBuilder detailsBuffer = new StringBuilder();
     for (String detail : attachmentText) {
index 6b887d2d349c9b6f25e7d4008436a7bf572a7e81..acfa2df3b5de37ed24f6945caf02bc41ba599109 100644 (file)
@@ -180,6 +180,7 @@ public class VMOptions {
 
   //<editor-fold desc="Deprecated stuff.">
   /** @deprecated use {@link #readOption(MemoryKind, boolean)} (to be removed in IDEA 2018) */
+  @Deprecated
   public static int readXmx() {
     return readOption(MemoryKind.HEAP, true);
   }
index c861cbb2e44e08d58fbe5732c051041624308f03..851e65e817ce4fc191c1f9c1bccf75258d7288a8 100644 (file)
@@ -8,6 +8,7 @@ import java.util.Collections;
 import java.util.List;
 
 /** @deprecated trivial and not particularly helpful, could be replaced with {@link java.util.Map} (to be removed in IDEA 2020) */
+@Deprecated
 @SuppressWarnings({"unused", "DeprecatedIsStillUsed"})
 public class ErrorBean {
   private final String stackTrace;
index 30b83be265760b7651358ad8014ef7c52ebee155..58d7febacd6b64b1ed318d7183ca8b1a0df00dc0 100644 (file)
@@ -92,6 +92,7 @@ public class ColoredProcessHandler extends KillableProcessHandler implements Ans
    * and override method coloredChunksAvailable to process colored chunks.
    * To be removed in IDEA 14.
    */
+  @Deprecated
   protected void textAvailable(final String text, final Key attributes) {
     super.notifyTextAvailable(text, attributes);
   }
index af2b3bd7bc4a8fbd6244de6645fb6937e2167d84..838ace40ea57f21baa57b233cbddd097e0615f86 100644 (file)
@@ -56,6 +56,7 @@ public class KillableColoredProcessHandler extends ColoredProcessHandler impleme
   }
 
   /** @deprecated use {@link #KillableColoredProcessHandler(GeneralCommandLine, boolean)} (to be removed in IDEA 17) */
+  @Deprecated
   @SuppressWarnings("unused")
   public static KillableColoredProcessHandler create(@NotNull GeneralCommandLine commandLine) throws ExecutionException {
     return new KillableColoredProcessHandler(commandLine, true);
index 8dac2a534790763c68424a8e0ab78e04c48dc3b8..ae962a0514d217a17eb56fbe1d2f682cb9fade3a 100644 (file)
@@ -156,6 +156,7 @@ public class RunnerMediator {
     private final boolean mySoftKill;
 
     /** @deprecated use CustomDestroyProcessHandler(GeneralCommandLine commandLine) (to remove in IDEA 16) */
+    @Deprecated
     public CustomDestroyProcessHandler(@NotNull Process process, @NotNull GeneralCommandLine commandLine) {
       super(process, commandLine.getCommandLineString());
       mySoftKill = false;
index 0c5f1260b881bac0b760b1b9c6cd1f01c5d9e037..c7c5f753499a373ad9a2c6854521bede0016992c 100644 (file)
@@ -21,6 +21,7 @@ import com.intellij.openapi.util.SystemInfo;
 import org.jetbrains.annotations.NotNull;
 
 /** @deprecated use {@link KillableColoredProcessHandler#KillableColoredProcessHandler(GeneralCommandLine, boolean)} (to be removed in IDEA 16) */
+@Deprecated
 @SuppressWarnings({"unused", "deprecation"})
 public class RunnerWinProcess extends ProcessWrapper {
 
index 3a50187b4497a762a0e4f2d39522b37051f0a32d..669bf0857f44304a82d0eeee3d6beafe3eef4025 100644 (file)
@@ -35,6 +35,7 @@ public class DependencyOnPlugin implements ProjectExternalDependency, Comparable
   /**
    * @deprecated use {@link #DependencyOnPlugin(String, String, String)} instead
    */
+  @Deprecated
   public DependencyOnPlugin(@NotNull String pluginId, @Nullable String minVersion, @Nullable String maxVersion, @Nullable String channel) {
     this(pluginId, minVersion, maxVersion);
   }
index 0bea7e6fff8f666a5097c0c5f987d0ed1d975fbd..2c6e0aa4a64116bb2f852441acde1a3ec34befe3 100644 (file)
@@ -271,6 +271,7 @@ public class IdeEventQueue extends EventQueue {
   }
 
   /** @deprecated use {@link #addActivityListener(Runnable, Disposable)} (to be removed in IDEA 17) */
+  @Deprecated
   public void addActivityListener(@NotNull final Runnable runnable) {
     synchronized (myLock) {
       myActivityListeners.add(runnable);
index 7d369f6227c8d35e67b737eb4953d25de640bab7..35176ee4f90ad4a1d399fdc12c176da692991e79 100644 (file)
@@ -411,6 +411,7 @@ public abstract class PluginManagerMain implements Disposable {
   /**
    * @deprecated use {@link #downloadPlugins(List, List, Runnable, PluginEnabler, Runnable)} instead
    */
+  @Deprecated
   public static boolean downloadPlugins(List<PluginNode> plugins,
                                         List<PluginId> allPlugins,
                                         Runnable onSuccess,
index 8edfe9da0d887bf5b7183a3a3fe04f0e6c64cdb2..96f41b7a30fa8c041fd237456378a785674927df 100644 (file)
@@ -125,6 +125,7 @@ public class ComplementaryFontsRegistry {
   /**
    * @deprecated Use {{@link #getFontAbleToDisplay(int, int, FontPreferences, FontRenderContext)}} instead.
    */
+  @Deprecated
   @NotNull
   public static FontInfo getFontAbleToDisplay(int codePoint, @JdkConstants.FontStyle int style, @NotNull FontPreferences preferences) {
     return getFontAbleToDisplay(codePoint, style, preferences, null);
@@ -248,6 +249,7 @@ public class ComplementaryFontsRegistry {
   /**
    * @deprecated Use {{@link #getFontAbleToDisplay(int, int, int, String, FontRenderContext)}}
    */
+  @Deprecated
   @NotNull
   public static FontInfo getFontAbleToDisplay(int codePoint, int size, @JdkConstants.FontStyle int style, @NotNull String defaultFontFamily) {
     return getFontAbleToDisplay(codePoint, size, style, defaultFontFamily, null);
index 303e7a6505f6fa877531244340a2787e4d067d42..eb6a164498c0cb7d395be4837b94286681f5d5ea 100644 (file)
@@ -43,6 +43,7 @@ public class FontInfo {
   /**
    * @deprecated Use {@link #FontInfo(String, int, int, boolean, FontRenderContext)} instead.
    */
+  @Deprecated
   public FontInfo(final String familyName, final int size, @JdkConstants.FontStyle int style) {
     this(familyName, size, style, style, false, null);
   }
@@ -50,6 +51,7 @@ public class FontInfo {
   /**
    * @deprecated Use {@link #FontInfo(String, int, int, boolean, FontRenderContext)} instead.
    */
+  @Deprecated
   public FontInfo(final String familyName, final int size, @JdkConstants.FontStyle int style, boolean useLigatures) {
     this(familyName, size, style, useLigatures, null);
   }
index 329aa9a74e81695a76bbcf2de799bab830b3b191..3f16e175c13b17150ab252454e555ea22ca3a26b 100644 (file)
@@ -1069,6 +1069,7 @@ public class LeftHandScrollbarLayout extends ScrollPaneLayout {
    * @deprecated As of JDK version Swing1.1
    *             replaced by {@code JScrollPane.getViewportBorderBounds()}.
    */
+  @Deprecated
   @Override
   public Rectangle getViewportBorderBounds(JScrollPane scrollpane) {
     return scrollpane.getViewportBorderBounds();
index 0791ec9152e1dc1e419a9ba570091974a8a1b545..3d2d3a9dbb1a4152939a59a0263e68fe8244eaf2 100644 (file)
@@ -396,18 +396,21 @@ public final class EditorTabbedContainer implements Disposable, CloseAction.Clos
   }
 
   /** @deprecated Use {@link EditorTabPresentationUtil#getEditorTabTitle(Project, VirtualFile, EditorWindow)} */
+  @Deprecated
   @NotNull
   public static String calcTabTitle(@NotNull Project project, @NotNull VirtualFile file) {
     return EditorTabPresentationUtil.getEditorTabTitle(project, file, null);
   }
 
   /** @deprecated Use {@link EditorTabPresentationUtil#getUniqueEditorTabTitle(Project, VirtualFile, EditorWindow)} */
+  @Deprecated
   @NotNull
   public static String calcFileName(@NotNull Project project, @NotNull VirtualFile file) {
     return EditorTabPresentationUtil.getUniqueEditorTabTitle(project, file, null);
   }
 
   /** @deprecated Use {@link EditorTabPresentationUtil#getEditorTabBackgroundColor(Project, VirtualFile, EditorWindow)} */
+  @Deprecated
   @Nullable
   public static Color calcTabColor(@NotNull Project project, @NotNull VirtualFile file) {
     return EditorTabPresentationUtil.getEditorTabBackgroundColor(project, file, null);
index db80e61e832c47e2ea5c819519338ffd76e4195c..6a472317e4ba8f261d4d02d672ca2f1bf1aec9c2 100644 (file)
@@ -31,10 +31,12 @@ public abstract class FileTypeManagerEx extends FileTypeManager{
   /**
    * @deprecated use {@link FileTypeFactory} instead
    */
+  @Deprecated
   public abstract void registerFileType(@NotNull FileType fileType);
   /**
    * @deprecated use {@link FileTypeFactory} instead
    */
+  @Deprecated
   public abstract void unregisterFileType(@NotNull FileType fileType);
 
   public abstract boolean isIgnoredFilesListEqualToCurrent(@NotNull String list);
index adeeef9dbcba54c6956978edb66b44d28224ad71..23a972137b372ec00014dde7b43a4ba50498dbac 100644 (file)
@@ -23,6 +23,7 @@ import javax.swing.*;
 /**
  * @deprecated use {@link ProgressWindow} and {@link ProgressIndicatorListener#installToProgress(ProgressIndicatorEx)}
  */
+@Deprecated
 public class ProgressWindowWithNotification extends ProgressWindow {
   public ProgressWindowWithNotification(boolean shouldShowCancel, Project project) {
     super(shouldShowCancel, project);
index 9693b506ad03c07d44f9157c1e3d8f88f80f8090..0f303cf4f89c0dd7789fd2f0931144b8b42e4a62 100644 (file)
@@ -163,12 +163,14 @@ public class UpdateSettings implements PersistentStateComponent<UpdateOptions>,
 
   //<editor-fold desc="Deprecated stuff.">
   /** @deprecated use {@link #getSelectedChannelStatus()} (to be removed in IDEA 2018) */
+  @Deprecated
   @SuppressWarnings("unused")
   public String getUpdateChannelType() {
     return myState.getUpdateChannelType();
   }
 
   /** @deprecated use {@link #setSelectedChannelStatus(ChannelStatus)} (to be removed in IDEA 2018) */
+  @Deprecated
   @SuppressWarnings("unused")
   public void setUpdateChannelType(@NotNull String value) {
     myState.setUpdateChannelType(value);
index 4c02003eaa637bbd99b46f8a8ac98812fb6e8e94..0a42ce0e6e27970c415ae411bd0d1eea7d6190e4 100644 (file)
@@ -51,6 +51,7 @@ public abstract class ToolWindowHeader extends JPanel implements Disposable, UIS
    * @deprecated
    * @param info won't be used anymore
    */
+  @Deprecated
   ToolWindowHeader(final ToolWindowImpl toolWindow, @NotNull WindowInfoImpl info, @NotNull final Producer<ActionGroup> gearProducer) {
     this(toolWindow, gearProducer);
   }
index 2bb37070b0b70c933ac564e6bd8136cd7c6ed3a8..8c7d66883fedb2bcd0a38d43c9dcf7e9e2474e71 100644 (file)
@@ -43,6 +43,7 @@ public interface DirectoryProjectGenerator<T> {
   /**
    * @deprecated todo[vokin]: delete in 2016.3
    */
+  @Deprecated
   @Nullable
   default T showGenerationSettings(final VirtualFile baseDir) throws ProcessCanceledException {
     return null;
index a7eacb5fd6d0938316ba29685979a033fe9175ad..1d49ab4986ec8ea7b8a9a4d455879581f364f927 100644 (file)
@@ -96,6 +96,7 @@ public class PlatformProjectOpenProcessor extends ProjectOpenProcessor {
   }
 
   /** @deprecated use {@link #doOpenProject(VirtualFile, Project, int, ProjectOpenedCallback, EnumSet)} (to be removed in IDEA 2019) */
+  @Deprecated
   public static Project doOpenProject(@NotNull VirtualFile virtualFile,
                                       Project projectToClose,
                                       boolean forceOpenInNewFrame,
index df2ee2df4503a21fd7e957a92c35d21a4feb76af..baef3c16343b689a09c8f96d540d15a3ad41e0e9 100644 (file)
@@ -41,6 +41,7 @@ public interface RemoteSdkCredentialsProducer<T extends RemoteSdkCredentials> {
    * @throws ExecutionException
    * @deprecated
    */
+  @Deprecated
   T getRemoteSdkCredentials(boolean allowSynchronousInteraction) throws InterruptedException, ExecutionException;
 
   T getRemoteSdkCredentials(@Nullable Project project, boolean allowSynchronousInteraction) throws InterruptedException, ExecutionException;
@@ -52,6 +53,7 @@ public interface RemoteSdkCredentialsProducer<T extends RemoteSdkCredentials> {
    * @param remoteSdkCredentialsConsumer
    * @deprecated
    */
+  @Deprecated
   void produceRemoteSdkCredentials(boolean allowSynchronousInteraction, Consumer<T> remoteSdkCredentialsConsumer);
 
   void produceRemoteSdkCredentials(@Nullable Project project, boolean allowSynchronousInteraction, Consumer<T> remoteSdkCredentialsConsumer);
index 79817ca6630107c76d04c2eff59c294f23ea4241..035dee0b399c9bc3f9c7aa203562a1abd3302854 100644 (file)
@@ -50,6 +50,7 @@ public class ListSpeedSearch<T> extends SpeedSearchBase<JList<T>> {
   /**
    * @deprecated use {@link #ListSpeedSearch(JList, Function)}
    */
+  @Deprecated
   @SuppressWarnings("LambdaUnfriendlyMethodOverload")
   public ListSpeedSearch(final JList<T> list, @Nullable Convertor<T, String> convertor) {
     super(list);
index 81e9d40d8061b66fee3cdd9710deccefd335bb3b..f68564ccd4fd1ca401c8cc10e45acabb25064805 100644 (file)
@@ -20,6 +20,7 @@ import java.awt.*;
 /**
  * @deprecated use ColoredSideBorder
  */
+@Deprecated
 public class SideBorder2 extends ColoredSideBorder {
   public SideBorder2(Color topColor, Color leftColor, Color bottomColor, Color rightColor, int thickness) {
     super(topColor, leftColor, bottomColor, rightColor, thickness);
index 972c74d71c4b1432512cc846602786910759088b..343caa8ce7b00ccc7ef7f99b55f97fa51d4e0406 100644 (file)
@@ -308,12 +308,14 @@ public class TabbedPaneWrapper  {
   /**
    * @deprecated Keyboard navigation is installed/deinstalled automatically. This method does nothing now.
    */
+  @Deprecated
   public final void installKeyboardNavigation(){
   }
 
   /**
    * @deprecated Keyboard navigation is installed/deinstalled automatically. This method does nothing now.
    */
+  @Deprecated
   public final void uninstallKeyboardNavigation(){
   }
 
index 07a1a3397183c356a21c1cce07dc24624027a153..1cf2f00d0445ad8b9540d2efcfec7912e99a6219 100644 (file)
@@ -20,6 +20,7 @@ import javax.swing.*;
 /**
  * @deprecated use JBTable instead
  */
+@Deprecated
 public class TableToolTipHandler {
   public static void install(JTable Table) {
   }
index 12d67dd76feac58a3e9dd238e36a9eb8142d8af7..b7d0750642d0dffbc91dc9a2f4299983ce65eb33 100644 (file)
@@ -24,6 +24,7 @@ import com.intellij.openapi.actionSystem.AnAction;
  *
  * @deprecated use {@link PinActiveTabAction}
  */
+@Deprecated
 public class PinToolwindowTabAction extends PinActiveTabAction.TW {
   public static final String ACTION_NAME = "PinToolwindowTab";
 
index a2c4e201c9084e0375fd9145f9444e4ae2f6400d..fa260de994f6ad15960b5d40696fe04a6c857ae3 100644 (file)
@@ -148,6 +148,7 @@ public class JdkBundle {
   //<editor-fold desc="Deprecated stuff.">
 
   /** @deprecated does not belong to the class (to be removed in IDEA 2019) */
+  @Deprecated
   public String getVisualRepresentation() {
     StringBuilder representation = new StringBuilder();
 
@@ -165,27 +166,32 @@ public class JdkBundle {
   }
 
   /** @deprecated useless (to be removed in IDEA 2019) */
+  @Deprecated
   public String getBundleName() {
     return "java";
   }
 
   /** @deprecated use {@link #getBundleVersion()} (to be removed in IDEA 2019) */
+  @Deprecated
   public Version getVersion() {
     JavaVersion v = myVersionInfo.version;
     return v.feature <= 8 ? new Version(1, v.feature, 0) : new Version(v.feature, 0, v.update);
   }
 
   /** @deprecated use {@link #getBundleVersion()} (to be removed in IDEA 2019) */
+  @Deprecated
   public Integer getUpdateNumber() {
     return myVersionInfo.version.update;
   }
 
   /** @deprecated use {@link #createBundle(File)} (to be removed in IDEA 2019) */
+  @Deprecated
   public static JdkBundle createBundle(@NotNull File jvm, boolean boot, boolean bundled) {
     return createBundle(jvm, boot, bundled, true);
   }
 
   /** @deprecated use {@link #createBundle(File)} (to be removed in IDEA 2019) */
+  @Deprecated
   public static JdkBundle createBundle(@NotNull File jvm, boolean boot, @SuppressWarnings("unused") boolean bundled, boolean matchArch) {
     JdkBundle bundle = createBundle(jvm, boot);
     if (matchArch && bundle != null) {
@@ -198,12 +204,13 @@ public class JdkBundle {
   }
 
   /** @deprecated use {@link #createBundled()} (to be removed in IDEA 2019) */
+  @Deprecated
   public static File getBundledJDKAbsoluteLocation() {
     return new File(PathManager.getHomePath(), SystemInfo.isMac ? "jdk" : "jre");
   }
 
   /** @deprecated use {@link SystemInfo#is64Bit} (to be removed in IDEA 2019) */
-  public static final Bitness runtimeBitness = SystemInfo.is64Bit ? Bitness.x64 : Bitness.x32;
+  @Deprecated public static final Bitness runtimeBitness = SystemInfo.is64Bit ? Bitness.x64 : Bitness.x32;
 
   //</editor-fold>
 }
\ No newline at end of file
index c9b0dbb50ce5d502b240219c4d4ac2c1e2bcfb5e..b996a929ad2d8f07daa7792e3bf44e5c18b978ed 100644 (file)
@@ -59,21 +59,25 @@ public class JdkBundleList {
   //<editor-fold desc="Deprecated stuff.">
 
   /** @deprecated use {@link #addBundle(JdkBundle)} (to be removed in IDEA 2019) */
+  @Deprecated
   public void addBundle(@NotNull JdkBundle bundle, @SuppressWarnings("unused") boolean forceOldVersion) {
     addBundle(bundle);
   }
 
   /** @deprecated use {@link #getBundle(String)} (to be removed in IDEA 2019) */
+  @Deprecated
   public boolean contains(@NotNull String path) {
     return myBundles.keySet().contains(path);
   }
 
   /** @deprecated use {@link #getBundles()} (to be removed in IDEA 2019) */
+  @Deprecated
   public ArrayList<JdkBundle> toArrayList() {
     return new ArrayList<>(myBundles.values());
   }
 
   /** @deprecated use {@link #addBundlesFromLocation(String, JavaVersion, JavaVersion)} (to be removed in IDEA 2019) */
+  @Deprecated
   public void addBundlesFromLocation(@NotNull String location, @Nullable Version minVer, @Nullable Version maxVer) {
     addBundlesFromLocation(location, toJavaVersion(minVer), toJavaVersion(maxVer));
   }
index c28ca679064460dae89b8b34c2752886e45c4c5c..8480f6e3fac4fcf1677991b9e10926da49bebf01 100644 (file)
@@ -24,6 +24,7 @@ import java.util.List;
 /**
  * @deprecated Use {@link StateSplitterEx}
  */
+@Deprecated
 public interface StateSplitter {
   List<Pair<Element, String>> splitState(@NotNull  Element e);
 
index c8b44a813863ffdf9de1817d6107d8878600f07d..e15d80053382e4cd988d38b7e088ef41247d8a44 100644 (file)
@@ -18,5 +18,6 @@ package com.intellij.openapi.project;
 /**
  * @deprecated Please use {@link ModuleListener} directly.
  */
+@Deprecated
 public abstract class ModuleAdapter implements ModuleListener {
 }
index 3f048b03c9fa6e08f916875eee899302c8b276fa..79f1d2894af388a41c18dfa9fe26992e6ac886d1 100644 (file)
@@ -36,6 +36,7 @@ public interface ProjectManagerListener extends EventListener {
   /**
    * @deprecated Please use {@link VetoableProjectManagerListener}
    */
+  @Deprecated
   default boolean canCloseProject(Project project) {
     return true;
   }
index c63fdf84af5c23dcf214bda3d9e2bb2704ff5a07..1e92e45a0ee3824d1557d375b70b39d6fbc03aa1 100644 (file)
@@ -38,6 +38,7 @@ public abstract class ProjectJdkTable {
   }
 
   /** @deprecated comparing version strings across SDK types makes no sense; use {@link #findMostRecentSdkOfType} (to be removed in IDEA 2019) */
+  @Deprecated
   public Sdk findMostRecentSdk(@NotNull Condition<Sdk> condition) {
     Sdk found = null;
     for (Sdk each : getAllJdks()) {
@@ -76,11 +77,13 @@ public abstract class ProjectJdkTable {
   /**
    * @deprecated use {@link ProjectJdkTable#JDK_TABLE_TOPIC} instead
    */
+  @Deprecated
   public abstract void addListener(@NotNull Listener listener);
 
   /**
    * @deprecated use {@link ProjectJdkTable#JDK_TABLE_TOPIC} instead
    */
+  @Deprecated
   public abstract void removeListener(@NotNull Listener listener);
 
   @NotNull
index 67f153e63e84e81b0400e19b8ebf3d5ae366b0e9..64775cc96582710ad688f2cc7a5620cd7a8cf876 100644 (file)
@@ -18,5 +18,6 @@ package com.intellij.openapi.roots;
 /**
  * @deprecated Please useModuleRootListener
 */
+@Deprecated
 public abstract class ModuleRootAdapter implements ModuleRootListener {
 }
index b25b471730dbd3c66c07bbf7882f8c7238043b2b..cf8273136fe2852b2eadcced088e424858a2628b 100644 (file)
@@ -33,6 +33,7 @@ public abstract class OrderEnumerationHandler {
     /**
      * @deprecated this method isn't called anymore, override {@link #isApplicable(Module)} instead
      */
+    @Deprecated
     public boolean isApplicable(@NotNull Project project) {
       return true;
     }
index a13006c75f17efff0e87deee4bc5c591cafb52c3..163a93edddbcafb41da65cc5e69e934840ecc822 100644 (file)
@@ -77,6 +77,7 @@ public abstract class AdditionalLibraryRootsProvider {
   /**
    * @deprecated use {@link #getAdditionalProjectLibraries(Project)} instead
    */
+  @Deprecated
   @SuppressWarnings("DeprecatedIsStillUsed")
   @NotNull
   public Collection<VirtualFile> getAdditionalProjectLibrarySourceRoots(@NotNull Project project) {
index cd302def47fb677e47a0707cecd874517d5bca2e..c851f2fbf1c48ea6df689b1c36052bcce6769be7 100644 (file)
@@ -28,6 +28,7 @@ public abstract class DirectoryInfo {
    * @return {@code true} if the whole directory is located under project content or library roots and not excluded or ignored
    * @deprecated use {@link #isInProject(VirtualFile)} instead, this method doesn't take {@link ContentEntry#getExcludePatterns()} into account
    */
+  @Deprecated
   public abstract boolean isInProject();
 
   /**
@@ -45,6 +46,7 @@ public abstract class DirectoryInfo {
    * @return {@code true} if the whole directory is located in project content, output or library root but excluded from the project
    * @deprecated use {@link #isExcluded(VirtualFile)} instead, this method doesn't take {@link ContentEntry#getExcludePatterns()} into account
    */
+  @Deprecated
   public abstract boolean isExcluded();
 
   /**
@@ -63,12 +65,14 @@ public abstract class DirectoryInfo {
   /**
    * @deprecated use {@link #isInModuleSource(VirtualFile)} instead, this method doesn't take {@link ContentEntry#getExcludePatterns() exclude patterns} into account
    */
+  @Deprecated
   public abstract boolean isInModuleSource();
 
   /**
    * @return {@code true} if {@code file} located under this directory is located in library sources.
    * @deprecated use {@link #isInLibrarySource(VirtualFile)} instead, this method doesn't take {@link SyntheticLibrary#getExcludeFileCondition()} into account
    */
+  @Deprecated
   public abstract boolean isInLibrarySource();
 
   /**
index 342a534e9f520a89f13d2f6cff1759f1155e6bc4..3fdb5bbc47099c91ad94c5cad4390bd72755e9cd 100644 (file)
@@ -73,6 +73,7 @@ public abstract class ServerType<C extends ServerConfiguration> {
   /**
    * @deprecated override {@link #createServerConfigurable(com.intellij.remoteServer.configuration.ServerConfiguration)} instead
    */
+  @Deprecated
   @NotNull
   public UnnamedConfigurable createConfigurable(@NotNull C configuration) {
     return createServerConfigurable(configuration);
index 96b675c3b3e73a6615e0209f263d5b3ee0a411f4..69336d99cf789baa521905650d2f2f1c9d13e850 100644 (file)
@@ -43,28 +43,33 @@ public abstract class ClientLibraryManager {
   /**
    * @deprecated to be removed with obsolete cloud implementations
    */
+  @Deprecated
   @NotNull
   public abstract List<File> getLibraries(@NotNull ClientLibraryDescription description);
 
   /**
    * @deprecated to be removed with obsolete cloud implementations
    */
+  @Deprecated
   public abstract void addListener(@NotNull CloudClientLibraryManagerListener listener, @NotNull Disposable disposable);
 
   /**
    * @deprecated will be pushed down to implementation when obsolete cloud implementations are removed
    */
+  @Deprecated
   public abstract boolean isDownloaded(@NotNull ClientLibraryDescription description);
 
   /**
    * @deprecated to be removed with obsolete cloud implementations
    */
+  @Deprecated
   public abstract void checkConfiguration(@NotNull ClientLibraryDescription description, @Nullable Project project,
                                           @Nullable JComponent component) throws RuntimeConfigurationError;
 
   /**
    * @deprecated will be pushed down to implementation when obsolete cloud implementations are removed
    */
+  @Deprecated
   public abstract void download(@NotNull ClientLibraryDescription description, @Nullable Project project, @Nullable JComponent component);
 
   public interface CloudClientLibraryManagerListener extends EventListener {
index 5cbc1bd558c64e15c47b6634ae1ee5ad4ea3e6ed..fbedfc87b26c301cb4abd98fd6499e748552f37a 100644 (file)
@@ -25,6 +25,7 @@ public abstract class ServerRuntimeInstance<D extends DeploymentConfiguration> {
   /**
    * @deprecated use {@link #getDeploymentName(com.intellij.remoteServer.configuration.deployment.DeploymentSource, D configuration)} instead
    */
+  @Deprecated
   @NotNull
   public String getDeploymentName(@NotNull DeploymentSource source) {
     return source.getPresentableName();
index 62c11b483e95e6664930ca5f3f121e7c9979afe7..cdc6d083fef9d0379ab37fa14425f5eb4e56886c 100644 (file)
@@ -14,6 +14,7 @@ public interface ProcessOutputConsumer extends Disposable {
   /**
    * @deprecated use {@link #flushBufferOnProcessTermination(int)}
    */
+  @Deprecated
   default void flushBufferBeforeTerminating() {}
 
   default void flushBufferOnProcessTermination(int exitCode) {
index 2fc128da1e6cee164f82ddf12fa0cc6086d80ab7..120a053526b2280b1213de564df4d53c629eb77a 100644 (file)
@@ -610,6 +610,7 @@ public class SMTestProxy extends AbstractTestProxy {
   /**
    * @deprecated use {@link #addOutput(String, Key)}
    */
+  @Deprecated
   public void addStdOutput(final String output, final Key outputType) {
     addOutput(output, outputType);
   }
index 25c74b6e67c1bf119d8aadb7d3c9240895415eec..2dad4c3b78e369292f8a5beeffbf5c68a949b7d9 100644 (file)
@@ -187,6 +187,7 @@ public class TestFailedEvent extends TreeNodeEvent {
   /**
    * @deprecated use {@link #getExpectedFilePath()} instead
    */
+  @Deprecated
   public String getFilePath() {
     return myExpectedFilePath;
   }
index 619ee36ba32a44ef1aba0d6fffff6ff23d1c77f7..d51be9c401d34552d347f5a0c503c0d475922eb6 100644 (file)
@@ -42,6 +42,7 @@ public class SMTRunnerConsoleView extends BaseTestsOutputConsoleView {
   /**
    * @deprecated
    */
+  @Deprecated
   public SMTRunnerConsoleView(final TestConsoleProperties consoleProperties, final ExecutionEnvironment environment) {
     this(consoleProperties, environment, null);
   }
@@ -50,6 +51,7 @@ public class SMTRunnerConsoleView extends BaseTestsOutputConsoleView {
    * @deprecated
    * @param splitterProperty               Key to store(project level) latest value of testTree/consoleTab splitter. E.g. "RSpec.Splitter.Proportion"
    */
+  @Deprecated
   @SuppressWarnings("UnusedParameters")
   public SMTRunnerConsoleView(final TestConsoleProperties consoleProperties,
                               final ExecutionEnvironment environment,
index da6ae247d689d029ff8cf0db2cb4afbdafcd57cf..e80862b6dddc875788f0521549bafff8b74eb6c3 100644 (file)
@@ -108,6 +108,7 @@ public abstract class TaskRepository {
    * @see #createCancellableConnection()
    * @deprecated
    */
+  @Deprecated
   public void testConnection() throws Exception {
   }
 
index 6299c6e564ecf2de4ca7ca26805cdecab54bb6eb..f02bf2825f81aef92a6de01958558845abaaee10 100644 (file)
@@ -48,6 +48,7 @@ public interface UsageView extends Disposable {
   /**
    * @deprecated please specify mnemonic by prefixing the mnemonic character with an ampersand (&& for Mac-specific ampersands)
    */
+  @Deprecated
   void addButtonToLowerPane(@NotNull Runnable runnable, @NotNull String text, char mnemonic);
   void addButtonToLowerPane(@NotNull Runnable runnable, @NotNull String text);
   void addButtonToLowerPane(@NotNull Action action);
index 6c1949ca86b20c87e4457e69009b20f3b024af8e..6713bfba477dc7b89d1b2b06159027bafc356ccd 100644 (file)
@@ -22,6 +22,7 @@ package com.intellij.usages.rules;
 /**
  * @deprecated override {@link UsageGroupingRule#getRank()} instead
  */
+@Deprecated
 public interface OrderableUsageGroupingRule extends UsageGroupingRule {
   int getRank();
 }
\ No newline at end of file
index fe9757f11a53ea4e2c7dc472ca34e9b415388f00..02668a1c0f90d21387fc7c8f3e44a11c167dc0d9 100644 (file)
@@ -43,6 +43,7 @@ public abstract class SingleParentUsageGroupingRule implements UsageGroupingRule
   /**
    * @deprecated override {@link #getParentGroupFor(Usage, UsageTarget[])} instead
    */
+  @Deprecated
   @Override
   public UsageGroup groupUsage(@NotNull Usage usage) {
     return getParentGroupFor(usage, UsageTarget.EMPTY_ARRAY);
index fc5752e6cf11aa4e558cc64976e057363ec7e588..2cf07bfb2443c6a82dd4d877df2b0fc21b2c5a2c 100644 (file)
@@ -29,6 +29,7 @@ public interface UsageFilteringRule {
   /**
    * @deprecated implement {@link #isVisible(Usage, UsageTarget[])} instead
    */
+  @Deprecated
   default boolean isVisible(@NotNull Usage usage) {
     throw new UnsupportedOperationException();
   }
index cb99f898a392d10226a0ab1386410830fe4df6f1..2155110cb72f1c337ab254537ec0c287835eef6b 100644 (file)
@@ -54,6 +54,7 @@ public interface UsageGroupingRule {
   /**
    * @deprecated extend {@link SingleParentUsageGroupingRule} and override {@link SingleParentUsageGroupingRule#getParentGroupFor getParentGroupFor} instead
    */
+  @Deprecated
   @Nullable
   default UsageGroup groupUsage(@NotNull Usage usage) {
     throw new UnsupportedOperationException();
index c8cf8e74f1ab00509a5ca2ff18fc70c204e62542..3f62331bc17b54b74403225ff7f079085b3d1d05 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.util.ExceptionUtil;
  *
  * @deprecated use {@link ExceptionUtil} instead
  */
+@Deprecated
 public class Rethrow {
   private Rethrow() {
   }
@@ -29,6 +30,7 @@ public class Rethrow {
   /**
    * @deprecated use {@link ExceptionUtil#rethrowAllAsUnchecked(Throwable)} instead
    */
+  @Deprecated
   public static void reThrowRuntime(final Throwable t) {
     ExceptionUtil.rethrowAllAsUnchecked(t);
   }
index 8eedac1c9e3e91830bace10fd815e06009e13dca..1bd4ddfa7e110756021099b8fe237fcdcd53beba 100644 (file)
@@ -41,6 +41,7 @@ import java.util.Set;
 /**
  * @deprecated Use {@link CommittedChangesBrowser}
  */
+@Deprecated
 public class RepositoryChangesBrowser extends ChangesBrowser implements DataProvider {
 
   private CommittedChangesBrowserUseCase myUseCase;
index d6a003e1912d1861bc3502015464545b2694fbeb..9c1e558f658fa9521060f0997add94d17485299b 100644 (file)
@@ -15,6 +15,7 @@ import java.util.List;
 /**
  * @deprecated Use {@link SimpleChangesBrowser}
  */
+@Deprecated
 public class ChangesBrowser extends OldChangesBrowserBase<Change> {
 
   public ChangesBrowser(@NotNull Project project,
index 95fec42e3ebb61baf6befcbeafe6cb5fa2d7ac19..fe74e01d5f2483b2dc80cec517cbf635938d940b 100644 (file)
@@ -498,6 +498,7 @@ public abstract class ChangesTree extends Tree implements DataProvider {
   /**
    * @deprecated See {@link ChangesTree#GROUP_BY_ACTION_GROUP}, {@link TreeActionsToolbarPanel}
    */
+  @Deprecated
   public AnAction[] getTreeActions() {
     return new AnAction[]{
       ActionManager.getInstance().getAction(GROUP_BY_ACTION_GROUP),
index bacf2d312801054ea6232567690921db7805c557..39d988d5f5a3cbe419421b77c5ac7b819e009fe7 100644 (file)
@@ -50,6 +50,7 @@ import static com.intellij.openapi.vcs.changes.ui.ChangesListView.*;
 /**
  * @deprecated Use {@link ChangesBrowserBase}
  */
+@Deprecated
 public abstract class OldChangesBrowserBase<T> extends JPanel implements TypeSafeDataProvider, Disposable {
   private static final Logger LOG = Logger.getInstance(OldChangesBrowserBase.class);
 
index 80205fc2c1057d0dff343a4803f4dd804dd40684..ff120b293d476ab7a4a98ff2cab77909f994e791 100644 (file)
@@ -123,6 +123,7 @@ public interface XDebugSession extends AbstractDebuggerSession {
   /**
    * @deprecated use {@link #breakpointReached(XBreakpoint, String, XSuspendContext)} instead
    */
+  @Deprecated
   boolean breakpointReached(@NotNull XBreakpoint<?> breakpoint, @NotNull XSuspendContext suspendContext);
 
   /**
index 69e3ddeca727c14f9c3c26edb8e0c94df517d98c..f89281515e7d7a68d4cbfa2de922b9f8225f0ae2 100644 (file)
@@ -136,6 +136,7 @@ public abstract class XBreakpointType<B extends XBreakpoint<P>, P extends XBreak
   /**
    * @deprecated override {@link #getInactiveDependentIcon()} instead
    */
+  @Deprecated
   @NotNull
   public Icon getDisabledDependentIcon() {
     return AllIcons.Debugger.Db_dep_line_breakpoint;
@@ -156,6 +157,7 @@ public abstract class XBreakpointType<B extends XBreakpoint<P>, P extends XBreak
   /**
    * @deprecated override {@link #createCustomPropertiesPanel(Project)} instead
    */
+  @Deprecated
   @Nullable
   public XBreakpointCustomPropertiesPanel<B> createCustomPropertiesPanel() {
     return null;
@@ -174,6 +176,7 @@ public abstract class XBreakpointType<B extends XBreakpoint<P>, P extends XBreak
   /**
    * @deprecated override {@link #getEditorsProvider(B, Project)} instead
    */
+  @Deprecated
   @Nullable
   public XDebuggerEditorsProvider getEditorsProvider() {
     return null;
index 5972737461544225a1e1387db631c5f2897cdd40..1c9671e79dc6f2ef0eb6a6d3afda3799e9379cd9 100644 (file)
@@ -57,6 +57,7 @@ public interface XValueNode extends Obsolescent {
   /**
    * @deprecated use {@link #setPresentation(Icon, XValuePresentation, boolean)}
    */
+  @Deprecated
   void setPresentation(@Nullable Icon icon, @NonNls @Nullable String type, @NonNls @NotNull String separator, @NonNls @Nullable String value, boolean hasChildren);
 
   /**
index 3c769d9ea29a89ebcfbfaf4f337fe9f757cf8cc1..d0835c42400dbfc88e56bd82efad0fc408ab0647 100644 (file)
@@ -43,6 +43,7 @@ public interface XAttachPresentationGroup<T> extends Comparator<T> {
   /**
    * @deprecated Use {@link #getItemIcon(Project, Object, UserDataHolder)} (will be removed in 2018.2)
    */
+  @Deprecated
   @NotNull
   Icon getProcessIcon(@NotNull Project project, @NotNull T info, @NotNull UserDataHolder dataHolder);
 
@@ -59,6 +60,7 @@ public interface XAttachPresentationGroup<T> extends Comparator<T> {
   /**
    * @deprecated Use {@link #getItemDisplayText(Project, Object, UserDataHolder)} (will be removed in 2018.2)
    */
+  @Deprecated
   @NotNull
   String getProcessDisplayText(@NotNull Project project, @NotNull T info, @NotNull UserDataHolder dataHolder);
 
@@ -90,6 +92,7 @@ public interface XAttachPresentationGroup<T> extends Comparator<T> {
    * @param dataHolder you may put your specific data into the holder at previous step in {@link XAttachDebuggerProvider#getAvailableDebuggers}
    *                   and use it for comparison
    */
+  @Deprecated
   default int compare(@NotNull Project project, @NotNull T a, @NotNull T b, @NotNull UserDataHolder dataHolder) {
     return compare(a, b);
   }
index 8e0c7771581806bec7241b83406845e1727fb0b6..1ebde9422c0031b392c4357c19460564c04dc719 100644 (file)
@@ -27,6 +27,7 @@ import javax.swing.*;
 /**
  * @deprecated use {@link XAttachPresentationGroup} instead
  */
+@Deprecated
 public class XDefaultLocalAttachGroup implements XLocalAttachGroup {
   public static final XDefaultLocalAttachGroup INSTANCE = new XDefaultLocalAttachGroup();
 
index 6edd523fbd8eb7753704d2d6a3ad5eee4327c538..751cc5a5aef0f8855f2eb4336f4896e8ca6b3648 100644 (file)
@@ -13,12 +13,14 @@ import java.util.List;
 /**
  * @deprecated use {@link XAttachDebuggerProvider} instead
  */
+@Deprecated
 public interface XLocalAttachDebuggerProvider extends XAttachDebuggerProvider {
   ExtensionPointName<XAttachDebuggerProvider> EP = ExtensionPointName.create("com.intellij.xdebugger.localAttachDebuggerProvider");
 
   /**
    * @deprecated use {@link XAttachDebuggerProvider#getAvailableDebuggers(Project, XAttachHost, ProcessInfo, UserDataHolder)} instead
    */
+  @Deprecated
   List<XLocalAttachDebugger> getAvailableDebuggers(@NotNull Project project,
                                                      @NotNull ProcessInfo process,
                                                      @NotNull UserDataHolder contextHolder);
@@ -26,6 +28,7 @@ public interface XLocalAttachDebuggerProvider extends XAttachDebuggerProvider {
   /**
    * @deprecated use {@link XAttachDebuggerProvider#getPresentationGroup()} instead
    */
+  @Deprecated
   @NotNull
   default XAttachPresentationGroup<ProcessInfo> getAttachGroup() {
     return XDefaultLocalAttachGroup.INSTANCE;
index 51eaccacbc528633469d94c8e0593853cc74e7a2..39d3863fb43151b22a37a54bfadc901ff2c27592 100644 (file)
@@ -24,17 +24,19 @@ import org.jetbrains.annotations.NotNull;
 /**
  * @deprecated Use XAttachProcessPresentationGroup (will be removed in 2018.2)
  */
+@Deprecated
 @ApiStatus.Experimental
 public interface XLocalAttachGroup extends XAttachProcessPresentationGroup {
   /**
    * @deprecated will be removed in 2018.2
    */
-  @NotNull
+  @Deprecated @NotNull
   XLocalAttachGroup DEFAULT = new XDefaultLocalAttachGroup();
 
   /**
    * @deprecated use {@link #compare(Object, Object)} (will be removed in 2018.2)
    */
+  @Deprecated
   default int compare(@NotNull Project project, @NotNull ProcessInfo a, @NotNull ProcessInfo b, @NotNull UserDataHolder dataHolder) {
     return compare(a, b);
   }
index 771cb798b2314535f4c82eb95d0ebf60f2008b48..643406379c74353fdc4626e354dd4bf47d6a1213 100644 (file)
@@ -26,6 +26,7 @@ import javax.swing.tree.TreeNode;
  *
  * @deprecated to be removed
  */
+@Deprecated
 public interface WatchNode extends TreeNode, Obsolescent {
   @NotNull
   XExpression getExpression();
index 2bb9250c15c64edca37107367a5214b9aa0484b4..5c39ecee11b08d27a8ec6238aa221dd648e3fb5f 100644 (file)
@@ -76,6 +76,7 @@ public class WatchesRootNode extends XValueContainerNode<XValueContainer> {
   /**
    * @deprecated use {@link #getWatchChildren()} instead
    */
+  @Deprecated
   @NotNull
   public List<? extends WatchNode> getAllChildren() {
     return getWatchChildren();
index 064a1eac0ca5fb3a6ddace04ff10ed7ae66d9bb5..2c097749158ee750a3e87119b9b8d304b041d36b 100644 (file)
@@ -39,6 +39,7 @@ public class EqualityToEqualsFix extends InspectionGadgetsFix {
   /**
    * @deprecated use {@link #buildFix(PsiBinaryExpression)} instead
    */
+  @Deprecated
   public EqualityToEqualsFix() {
     this(true);
   }