diff --git a/java/compiler/openapi/src/com/intellij/openapi/compiler/CompileScope.java b/java/compiler/openapi/src/com/intellij/openapi/compiler/CompileScope.java index 2062f5dd7a0d..e3833c8e42e2 100644 --- a/java/compiler/openapi/src/com/intellij/openapi/compiler/CompileScope.java +++ b/java/compiler/openapi/src/com/intellij/openapi/compiler/CompileScope.java @@ -70,7 +70,7 @@ public interface CompileScope extends ExportableUserDataHolder { } /** - * @return similar to {getAffectedModules}, but is more precise about which kinds of source roots are affected: production and/or tests + * @return similar to {@link #getAffectedModules}, but is more precise about which kinds of source roots are affected: production and/or tests */ default Collection getAffectedSourceSets() { List sets = new SmartList<>(); diff --git a/platform/analysis-impl/src/com/intellij/codeInsight/quickfix/UnresolvedReferenceQuickFixUpdater.java b/platform/analysis-impl/src/com/intellij/codeInsight/quickfix/UnresolvedReferenceQuickFixUpdater.java index 5feeca2bdb4a..a6db3e610cff 100644 --- a/platform/analysis-impl/src/com/intellij/codeInsight/quickfix/UnresolvedReferenceQuickFixUpdater.java +++ b/platform/analysis-impl/src/com/intellij/codeInsight/quickfix/UnresolvedReferenceQuickFixUpdater.java @@ -51,7 +51,7 @@ public interface UnresolvedReferenceQuickFixUpdater { void waitQuickFixesSynchronously(@NotNull PsiFile file, @NotNull Editor editor, @NotNull List infos); /** - * Start background computation of quick fixes for unresolved references in the {code file} at the current caret offset + * Start background computation of quick fixes for unresolved references in the {@code file} at the current caret offset */ void startComputingNextQuickFixes(@NotNull PsiFile file, @NotNull Editor editor, @NotNull ProperTextRange visibleRange); } diff --git a/platform/lang-impl/src/com/intellij/ide/actions/BigPopupUI.java b/platform/lang-impl/src/com/intellij/ide/actions/BigPopupUI.java index 33212ca8bb53..162047532c28 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/BigPopupUI.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/BigPopupUI.java @@ -60,7 +60,7 @@ public abstract class BigPopupUI extends BorderLayoutPanel implements Disposable protected abstract ListCellRenderer createCellRenderer(); /** - * todo make the method abstract after {@link #createTopLeftPanel()} and {link {@link #createSettingsPanel()}} are removed + * todo make the method abstract after {@link #createTopLeftPanel()} and {@link #createSettingsPanel()} are removed */ @NotNull protected JComponent createHeader() { diff --git a/platform/platform-impl/src/com/intellij/ui/popup/util/PopupImplUtil.java b/platform/platform-impl/src/com/intellij/ui/popup/util/PopupImplUtil.java index af723b7bfed8..e83d38a0c105 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/util/PopupImplUtil.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/util/PopupImplUtil.java @@ -71,7 +71,7 @@ public final class PopupImplUtil { return null; } - /** @deprecated Use @{@link PopupUtil#setPopupToggleComponent}, but in the most cases it is not needed any more */ + /** @deprecated Use {@link PopupUtil#setPopupToggleComponent}, but in the most cases it is not needed any more */ @Deprecated(forRemoval = true) public static void setPopupToggleButton(@NotNull JBPopup jbPopup, @Nullable Component toggleButton) { PopupUtil.setPopupToggleComponent(jbPopup, toggleButton); diff --git a/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java b/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java index d4341ad5ed7e..1ac4448d01cc 100644 --- a/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java +++ b/platform/util/base/src/com/intellij/openapi/util/NlsSafe.java @@ -16,7 +16,7 @@ import java.lang.annotation.*; *
  • URL
  • *
  • Programming language or framework name
  • * - * Avoid using NlsSafe just to suppress the "hardcoded string" inspection warning. Use @{@link NonNls} + * Avoid using NlsSafe just to suppress the "hardcoded string" inspection warning. Use {@link NonNls @NonNls} * if something is not intended to be displayed to the user: internal identifier, XML tag attribute, * substring to be searched in the external process output, etc. *

    diff --git a/platform/util/src/com/intellij/util/io/SimpleStringPersistentEnumerator.java b/platform/util/src/com/intellij/util/io/SimpleStringPersistentEnumerator.java index 9bc46ac236a4..1bd47d3f7970 100644 --- a/platform/util/src/com/intellij/util/io/SimpleStringPersistentEnumerator.java +++ b/platform/util/src/com/intellij/util/io/SimpleStringPersistentEnumerator.java @@ -31,7 +31,7 @@ import static java.nio.file.StandardOpenOption.*; * like 'flush' and 'isDirty', and doesn't implement {@link DurableDataEnumerator} *

  • Could have >1 id for same value * (i.e. it violates general {@link DataEnumerator} contract -- this is to keep backward-compatible behavior)
  • - *
  • Uses CopyOnWrite for updating state, so {@link #valueOf(int)}/@{@link #enumerate(String)} are wait-free + *
  • Uses CopyOnWrite for updating state, so {@link #valueOf(int)}/{@link #enumerate(String)} are wait-free * for already existing value/id
  • * *

    diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/psi/IgnoreTokenType.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/psi/IgnoreTokenType.java index f3520c5d9588..c734e97a625a 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/psi/IgnoreTokenType.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/psi/IgnoreTokenType.java @@ -40,7 +40,7 @@ public class IgnoreTokenType extends IElementType { private final String debugName; /** - * Builds a new instance of @{link IgnoreTokenType}. + * Builds a new instance of {@link IgnoreTokenType}. */ public IgnoreTokenType(@NotNull @NonNls String debugName) { super(debugName, IgnoreLanguage.INSTANCE); diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/reference/IgnoreReferenceContributor.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/reference/IgnoreReferenceContributor.java index 6a08c7272763..7127d67c61fb 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/reference/IgnoreReferenceContributor.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ignore/reference/IgnoreReferenceContributor.java @@ -57,7 +57,7 @@ public class IgnoreReferenceContributor extends PsiReferenceContributor { } /** - * Returns references for given @{link PsiElement}. + * Returns references for given {@link PsiElement}. * * @param psiElement current element * @param processingContext context diff --git a/plugins/devkit/devkit-core/src/module/PluginModuleBuilder.java b/plugins/devkit/devkit-core/src/module/PluginModuleBuilder.java index df5b3b99c8a9..2c647b77470a 100644 --- a/plugins/devkit/devkit-core/src/module/PluginModuleBuilder.java +++ b/plugins/devkit/devkit-core/src/module/PluginModuleBuilder.java @@ -35,7 +35,7 @@ import static java.awt.GridBagConstraints.CENTER; import static java.awt.GridBagConstraints.HORIZONTAL; /** - * @deprecated Completely replaced with @{link {@link IdePluginModuleBuilder}. + * @deprecated Completely replaced with {@link IdePluginModuleBuilder}. */ @Deprecated(forRemoval = true) public class PluginModuleBuilder extends JavaModuleBuilder { diff --git a/plugins/textmate/src/org/jetbrains/plugins/textmate/bundles/BundleFactory.java b/plugins/textmate/src/org/jetbrains/plugins/textmate/bundles/BundleFactory.java index 4255aacc11c7..8387632cb5af 100644 --- a/plugins/textmate/src/org/jetbrains/plugins/textmate/bundles/BundleFactory.java +++ b/plugins/textmate/src/org/jetbrains/plugins/textmate/bundles/BundleFactory.java @@ -22,7 +22,7 @@ public class BundleFactory { /** * Create bundle object from directory. - * Return {code}null{code} if bundle type can't be defined or + * Return {@code null} if bundle type can't be defined or * if IO exception occurred while reading directory. * * @return Bundle object or null