private static Class<?> getObjectStorageClass(@NotNull Object codeStyleObject) {
    Class<?> objectClass = codeStyleObject.getClass();
    if (CodeStyleSettings.class.isAssignableFrom(objectClass)) {
      return CodeStyleSettings.class;
    }
    return objectClass;
  }
private static Class<?> getObjectStorageClass(@NotNull Object codeStyleObject)