mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -17,6 +17,7 @@ package com.intellij.codeInspection;
|
||||
|
||||
import com.intellij.util.ArrayFactory;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Base class for problems returned by local and global inspection tools.
|
||||
@@ -43,12 +44,14 @@ public interface CommonProblemDescriptor {
|
||||
*
|
||||
* @return the template for the problem description.
|
||||
*/
|
||||
@NotNull String getDescriptionTemplate();
|
||||
@NotNull
|
||||
String getDescriptionTemplate();
|
||||
|
||||
/**
|
||||
* Returns the quickfixes for the problem.
|
||||
*
|
||||
* @return the list of quickfixes registered for the problem.
|
||||
*/
|
||||
@Nullable
|
||||
QuickFix[] getFixes();
|
||||
}
|
||||
|
||||
@@ -40,7 +40,8 @@ public interface QuickFix<D extends CommonProblemDescriptor> {
|
||||
* if the name of the quickfix is "Create template <filename>", the return value of getFamilyName() should be "Create template".
|
||||
* If the name of the quickfix does not depend on a specific element, simply return getName().
|
||||
*/
|
||||
@NotNull String getFamilyName();
|
||||
@NotNull
|
||||
String getFamilyName();
|
||||
|
||||
/**
|
||||
* Called to apply the fix.
|
||||
|
||||
Reference in New Issue
Block a user