From 6e175d700f2ea9978c606ef521863104477aa6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Mon, 29 Apr 2019 11:21:04 +0200 Subject: [PATCH] TextEditorHighlightingPassRegistrar: Javadoc cleanup GitOrigin-RevId: bef7bfa2bc5270f962440feec41cf560de9f3224 --- .../TextEditorHighlightingPassRegistrar.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/analysis-impl/src/com/intellij/codeHighlighting/TextEditorHighlightingPassRegistrar.java b/platform/analysis-impl/src/com/intellij/codeHighlighting/TextEditorHighlightingPassRegistrar.java index ebdf1a16dafe..2e7e9f0c68a2 100644 --- a/platform/analysis-impl/src/com/intellij/codeHighlighting/TextEditorHighlightingPassRegistrar.java +++ b/platform/analysis-impl/src/com/intellij/codeHighlighting/TextEditorHighlightingPassRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2019 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,16 +26,16 @@ public abstract class TextEditorHighlightingPassRegistrar { FIRST, LAST, BEFORE, AFTER, } - public static TextEditorHighlightingPassRegistrar getInstance(Project project){ + public static TextEditorHighlightingPassRegistrar getInstance(Project project) { return ServiceManager.getService(project, TextEditorHighlightingPassRegistrar.class); } /** * Registers the factory for the new highlighting pass. - * Factory will be asked to create the highlighting pass every time IDEA tries to highlight the file. + * Factory will be asked to create the highlighting pass every time IDE tries to highlight the file. * - * @param anchorPassId id of the anchor pass. Predefined pass Ids are declared in {@link Pass} - * @return the id of the new pass which e.g. can be used as an anchor for the other pass. + * @param anchorPassId id of the anchor pass. Predefined pass Ids are declared in {@link Pass} + * @return the id of the new pass which, e.g., can be used as an anchor for the other pass. */ public int registerTextEditorHighlightingPass(final TextEditorHighlightingPassFactory factory, final Anchor anchor, @@ -65,7 +65,7 @@ public abstract class TextEditorHighlightingPassRegistrar { return registerTextEditorHighlightingPass(factory, ids, null, needAdditionalIntentionsPass, -1); } - public abstract int registerTextEditorHighlightingPass(@NotNull TextEditorHighlightingPassFactory factory, + public abstract int registerTextEditorHighlightingPass(@NotNull TextEditorHighlightingPassFactory factory, @Nullable final int[] runAfterCompletionOf, @Nullable int[] runAfterStartingOf, boolean runIntentionsPassAfter,