javadoc errors fixed

This commit is contained in:
Alexey Kudravtsev
2018-05-22 16:25:33 +03:00
parent ca9d15f5ec
commit de46c6e3c2
12 changed files with 18 additions and 17 deletions
@@ -31,7 +31,7 @@ public interface PsiVariable extends PsiModifierListOwner, PsiNameIdentifierOwne
* Returns the initializer for the variable.
*
* @return the initializer expression, or null if it has no initializer.
* @see {@link #hasInitializer()}
* @see #hasInitializer()
*/
@Nullable
PsiExpression getInitializer();
@@ -80,7 +80,7 @@ public interface InspectionProfile extends Comparable {
boolean isExecutable(@Nullable Project project);
/**
* @see {@link InspectionProfileImpl#setSingleTool(String)}
* @see com.intellij.codeInspection.ex.InspectionProfileImpl#setSingleTool(String)
*
* @return tool short name when inspection profile corresponds to synthetic profile for single inspection run
*/
@@ -19,7 +19,7 @@ import org.jetbrains.annotations.Nullable;
import com.intellij.util.ProcessingContext;
/**
* @see {@link com.intellij.patterns.StandardPatterns} and its extenders
* @see com.intellij.patterns.StandardPatterns and its extenders
*
* @author peter
*/
@@ -531,7 +531,7 @@ public interface PsiElement extends UserDataHolder, Iconable {
* Returns the scope in which references to this element are searched.
*
* @return the search scope instance.
* @see {@link com.intellij.psi.search.PsiSearchHelper#getUseScope(PsiElement)}
* @see com.intellij.psi.search.PsiSearchHelper#getUseScope(PsiElement)
*/
@NotNull
@Contract(pure=true)
@@ -82,7 +82,7 @@ public final class LanguageConsoleBuilder {
}
/**
* @see {@link com.intellij.psi.PsiCodeFragment}
* @see com.intellij.psi.PsiCodeFragment
*/
public LanguageConsoleBuilder psiFileFactory(@NotNull PairFunction<VirtualFile, Project, PsiFile> value) {
psiFileFactory = value;
@@ -134,7 +134,7 @@ public final class LanguageConsoleBuilder {
}
/**
* @see {@link com.intellij.openapi.editor.ex.EditorEx#setOneLineMode(boolean)}
* @see com.intellij.openapi.editor.ex.EditorEx#setOneLineMode(boolean)
*/
@SuppressWarnings("UnusedDeclaration")
public LanguageConsoleBuilder oneLineInput() {
@@ -143,7 +143,7 @@ public final class LanguageConsoleBuilder {
}
/**
* @see {@link com.intellij.openapi.editor.ex.EditorEx#setOneLineMode(boolean)}
* @see com.intellij.openapi.editor.ex.EditorEx#setOneLineMode(boolean)
*/
public LanguageConsoleBuilder oneLineInput(boolean value) {
oneLineInput = value;
@@ -23,7 +23,7 @@ import com.intellij.openapi.options.SettingsEditor;
* represented by this {@code SettingsEditor} instance is not selected.
* As a result, no empty space or scrollbars when smaller tab component selected.
*
* @see {@link com.intellij.openapi.options.SettingsEditorGroup}
* @see com.intellij.openapi.options.SettingsEditorGroup
*/
public interface AdjustingTabSettingsEditor {
}
@@ -29,8 +29,8 @@ import org.jetbrains.annotations.Nullable;
* Use {@link com.intellij.execution.ui.ConsoleViewContentType#getConsoleViewType} to get TextAttributes for an instance
* of this class.
* <p/>
* @see {@link com.intellij.execution.process.ColoredOutputTypeRegistry}
* @see {@link com.intellij.execution.ui.ConsoleViewContentType#registerNewConsoleViewType}
* @see com.intellij.execution.process.ColoredOutputTypeRegistry
* @see com.intellij.execution.ui.ConsoleViewContentType#registerNewConsoleViewType
*/
@SuppressWarnings({"JavaDoc", "JavadocReference"})
public class ProcessOutputType extends Key {
@@ -51,8 +51,8 @@ public class ScreenReader {
* 2) in the prop. file: <user home>/.accessibility.properties
* 3) in the prop. file: <jre>/lib/accessibility.properties
*
* @see {@link #ACCESS_BRIDGE}
* @see {@link #ATK_WRAPPER}
* @see #ACCESS_BRIDGE
* @see #ATK_WRAPPER
* @param a11yClassName the full class name representing the a11y technology
* @return true if enabled, otherwise false
*/
@@ -54,7 +54,8 @@ abstract class PyLineMarkerNavigator<T extends PsiElement> implements GutterIcon
}
/**
* @see {@link #navigate(MouseEvent, PsiElement)} and {@link #MARKERS}
* @see #navigate(MouseEvent, PsiElement)
* @see #MARKERS
*/
@TestOnly
@Nullable
@@ -126,7 +126,7 @@ public class PyStaticCallHierarchyUtil {
}
/**
* @see {@link com.jetbrains.python.findUsages.PyFindUsagesHandlerFactory#createFindUsagesHandler(com.intellij.psi.PsiElement, boolean) createFindUsagesHandler}
* @see com.jetbrains.python.findUsages.PyFindUsagesHandlerFactory#createFindUsagesHandler(com.intellij.psi.PsiElement, boolean)
*/
@Nullable
private static FindUsagesHandler createFindUsageHandler(@NotNull final PsiElement element) {
@@ -152,7 +152,7 @@ public class PyStaticCallHierarchyUtil {
}
/**
* @see {@link com.jetbrains.python.findUsages.PyFindUsagesHandlerFactory#isInObject(com.jetbrains.python.psi.PyFunction) isInObject}
* @see com.jetbrains.python.findUsages.PyFindUsagesHandlerFactory#isInObject(PyFunction)
*/
private static boolean isInObject(PyFunction fun) {
final PyClass containingClass = fun.getContainingClass();
@@ -626,7 +626,7 @@ public class PyUtil {
/**
* Returns Python language level for a virtual file.
*
* @see {@link LanguageLevel#forElement}
* @see LanguageLevel#forElement
*/
@NotNull
public static LanguageLevel getLanguageLevelForVirtualFile(@NotNull Project project,
@@ -229,7 +229,7 @@ public class PythonSdkUpdater implements StartupActivity {
/**
* Updates the paths of an SDK and regenerates its skeletons as a background task. Shows an error message if the update fails.
*
* @see {@link #update(Sdk, SdkModificator, Project, Component)}
* @see #update(Sdk, SdkModificator, Project, Component)
*/
public static void updateOrShowError(@NotNull Sdk sdk, @Nullable SdkModificator sdkModificator, @Nullable Project project,
@Nullable Component ownerComponent) {