private static Class<?> getInspectionClass(InspectionToolWrapper<?, ?> toolWrapper) {
    return toolWrapper instanceof LocalInspectionToolWrapper ? ((LocalInspectionToolWrapper)toolWrapper).getTool().getClass() : toolWrapper.getClass();
  }
private static Class<?> getInspectionClass(InspectionToolWrapper<?, ?> toolWrapper)