public @NotNull <T extends LocalInspectionTool> T getTool(@NotNull Class<T> aClass) {
    InspectionToolWrapper<?, ?> tool = getInspectionTool(InspectionProfileEntry.getShortName(aClass.getSimpleName()), myProject);
    //noinspection unchecked
    return (T)Objects.requireNonNull(tool).getTool();
  }
public @NotNull <T extends LocalInspectionTool> T getTool(@NotNull Class<T> aClass)