mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 09:12:22 +07:00
Fix incorrect usages of Javadoc syntax {@code} and {@link} in various
Java classes. Reviewed-by: Tagir Valeev <tagir.valeev@jetbrains.com> PR#2520 GitOrigin-RevId: 2ace377ae2dc38b0cfe0a73bf43ac84a067b3071
This commit is contained in:
committed by
intellij-monorepo-bot
parent
18e26f108f
commit
26d8b55820
@@ -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<ModuleSourceSet> getAffectedSourceSets() {
|
||||
List<ModuleSourceSet> sets = new SmartList<>();
|
||||
|
||||
@@ -51,7 +51,7 @@ public interface UnresolvedReferenceQuickFixUpdater {
|
||||
void waitQuickFixesSynchronously(@NotNull PsiFile file, @NotNull Editor editor, @NotNull List<? extends HighlightInfo> 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);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ public abstract class BigPopupUI extends BorderLayoutPanel implements Disposable
|
||||
protected abstract ListCellRenderer<Object> 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() {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -16,7 +16,7 @@ import java.lang.annotation.*;
|
||||
* <li>URL</li>
|
||||
* <li>Programming language or framework name</li>
|
||||
* </ul>
|
||||
* 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.
|
||||
* <p>
|
||||
|
||||
@@ -31,7 +31,7 @@ import static java.nio.file.StandardOpenOption.*;
|
||||
* like 'flush' and 'isDirty', and doesn't implement {@link DurableDataEnumerator}</li>
|
||||
* <li>Could have >1 id for same value
|
||||
* (i.e. it violates general {@link DataEnumerator} contract -- this is to keep backward-compatible behavior)</li>
|
||||
* <li>Uses CopyOnWrite for updating state, so {@link #valueOf(int)}/@{@link #enumerate(String)} are wait-free
|
||||
* <li>Uses CopyOnWrite for updating state, so {@link #valueOf(int)}/{@link #enumerate(String)} are wait-free
|
||||
* for already existing value/id</li>
|
||||
* </ul>
|
||||
* <p>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user