mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
i18n fixes
GitOrigin-RevId: bb0c4c39db374649f00614dbf9bdd88ebc8778ff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3bb3704165
commit
e1ff19b75c
@@ -2,6 +2,7 @@
|
||||
package com.intellij.openapi.compiler;
|
||||
|
||||
import com.intellij.openapi.extensions.ProjectExtensionPointName;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
@@ -22,6 +23,7 @@ public interface Compiler {
|
||||
* @return the description string.
|
||||
*/
|
||||
@NotNull
|
||||
@Nls
|
||||
String getDescription();
|
||||
|
||||
/**
|
||||
|
||||
@@ -44,7 +44,7 @@ import java.util.Map;
|
||||
public abstract class InspectionValidator {
|
||||
public static final ProjectExtensionPointName<InspectionValidator> EP_NAME = new ProjectExtensionPointName<>("com.intellij.compiler.inspectionValidator");
|
||||
private final String myId;
|
||||
private final String myDescription;
|
||||
private final @Nls String myDescription;
|
||||
private final @NlsContexts.ProgressText String myProgressIndicatorText;
|
||||
|
||||
private final Class<? extends LocalInspectionTool> @Nullable [] myInspectionToolClasses;
|
||||
@@ -80,7 +80,6 @@ public abstract class InspectionValidator {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public Class<? extends LocalInspectionTool> @NotNull [] getInspectionToolClasses(final CompileContext context) {
|
||||
if (myInspectionToolClasses != null) {
|
||||
return myInspectionToolClasses;
|
||||
@@ -94,7 +93,7 @@ public abstract class InspectionValidator {
|
||||
return myId;
|
||||
}
|
||||
|
||||
public final String getDescription() {
|
||||
public final @Nls String getDescription() {
|
||||
return myDescription;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user