code: private ClassInfo classInfoFromMetaBean(MetaBean metaBean, Class<?> aClass) {
          MetaProperty<?>[] metaProperties = StreamSupport.stream(metaBean.metaPropertyIterable().spliterator(), false)
              .filter(metaProp -> settings.isSerialized(metaProp))
              .toArray(MetaProperty<?>[]::new);
  
          // Positions get recreated when all classes have been recorded
          return new ClassInfo(aClass, metaProperties);
      }
docs: converts a meta-bean to a ClassInfo