private static LinkedHashSet < Class < ? > > getRegisteredSubclassesFromExecutionConfig ( Class < ? > basePojoClass , ExecutionConfig executionConfig ) { LinkedHashSet < Class < ? > > subclassesInRegistrationOrder = new LinkedHashSet <> ( executionConfig . getRegisteredPojoTypes ( ) . size ( ) ) ; for ( Class < ? > registeredClass : executionConfig . getRegisteredPojoTypes ( ) ) { if ( registeredClass . equals ( basePojoClass ) ) { continue ; } if ( ! basePojoClass . isAssignableFrom ( registeredClass ) ) { continue ; } subclassesInRegistrationOrder . add ( registeredClass ) ; } return subclassesInRegistrationOrder ; }
Extracts the subclasses of the base POJO class registered in the execution config .