public static ConfigurationTree build ( final Bootstrap bootstrap , final Configuration configuration , final boolean introspect ) { final List < Class > roots = resolveRootTypes ( new ArrayList <> ( ) , configuration . getClass ( ) ) ; if ( introspect ) { final List < ConfigPath > content = resolvePaths ( bootstrap . getObjectMapper ( ) . getSerializationConfig ( ) , null , new ArrayList <> ( ) , configuration . getClass ( ) , configuration , GenericsResolver . resolve ( configuration . getClass ( ) ) ) ; final List < ConfigPath > uniqueContent = resolveUniqueTypePaths ( content ) ; return new ConfigurationTree ( roots , content , uniqueContent ) ; } else { return new ConfigurationTree ( roots ) ; } }
Analyze configuration object to extract bindable parts .