diff --git a/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java b/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java index e36019c52942..f8c670a98519 100644 --- a/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java +++ b/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java @@ -16,6 +16,7 @@ package com.intellij.codeInspection; import com.intellij.openapi.project.Project; +import org.jetbrains.annotations.Nls; import org.jetbrains.annotations.NotNull; /** @@ -27,11 +28,13 @@ import org.jetbrains.annotations.NotNull; */ public interface QuickFix { QuickFix[] EMPTY_ARRAY = new QuickFix[0]; + /** * Returns the name of the quick fix. * * @return the name of the quick fix. */ + @Nls(capitalization = Nls.Capitalization.Sentence) @NotNull String getName(); @@ -46,7 +49,7 @@ public interface QuickFix { /** * Called to apply the fix. * - * @param project {@link com.intellij.openapi.project.Project} + * @param project {@link Project} * @param descriptor problem reported by the tool which provided this quick fix action */ void applyFix(@NotNull Project project, @NotNull D descriptor);