mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
IDEA-244325 [devkit] Convert InspectionDescriptionNotFoundInspection to UAST
GitOrigin-RevId: 9e8feeeb5cbd53c37bd43b29c5eaeb3de87329d7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ee78c14d55
commit
bbedc3df3b
@@ -1,8 +1,8 @@
|
||||
import com.intellij.codeInspection.InspectionProfileEntry;
|
||||
|
||||
public class MyInspectionCustomShortName extends InspectionProfileEntry {
|
||||
public class <warning descr="Inspection does not have a description [getShortName()]">MyInspectionCustomShortName</warning> extends InspectionProfileEntry {
|
||||
|
||||
public String getShortName() {
|
||||
return <warning descr="Inspection does not have a description">"NOT_EXISTING_CUSTOM_SHORT_NAME"</warning>;
|
||||
return "NOT_EXISTING_CUSTOM_SHORT_NAME";
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@ class ALocalInspectionTool extends LocalInspectionTool {
|
||||
return com.intellij.codeInspection.InspectionProfileEntry.getShortName(name);
|
||||
}
|
||||
}
|
||||
public class <warning descr="Inspection does not have a description">MyWithDescriptionAndShortNameInBaseInspection</warning> extends ALocalInspectionTool {}
|
||||
public class <warning descr="Inspection does not have a description [getShortName()]">MyWithDescriptionAndShortNameInBaseInspection</warning> extends ALocalInspectionTool {}
|
||||
Reference in New Issue
Block a user