static @NotNull Class<?> getClassToReport(@NotNull Object object) {
    return object instanceof ReportingClassSubstitutor ? ((ReportingClassSubstitutor)object).getSubstitutedClass() : object.getClass();
  }
static @NotNull Class<?> getClassToReport(@NotNull Object object)