import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public abstract class LocalInspectionTool extends InspectionProfileEntry {
public static final LocalInspectionTool[] EMPTY_ARRAY = new LocalInspectionTool[0];
<BUG>private static final Logger LOG = Logger.getInstance("#" + LocalInspectionTool.class.getName());
@Language("RegExp")</BUG>
public static final String VALID_ID_PATTERN = "[a-zA-Z_0-9.-]+";
public static boolean isValidID(@NotNull String id) {
return id.length() > 0 && id.matches(VALID_ID_PATTERN);

import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public abstract class LocalInspectionTool extends InspectionProfileEntry {
public static final LocalInspectionTool[] EMPTY_ARRAY = new LocalInspectionTool[0];
private static final Logger LOG = Logger.getInstance("#" + LocalInspectionTool.class.getName());
interface LocalDefaultNameProvider extends DefaultNameProvider {
@Nullable String getID();
@Nullable String getAlternativeID();
}
@Language("RegExp")
public static final String VALID_ID_PATTERN = "[a-zA-Z_0-9.-]+";
public static boolean isValidID(@NotNull String id) {
return id.length() > 0 && id.matches(VALID_ID_PATTERN);
