List < JApiClass > compareClassLists ( JarArchiveComparatorOptions options , List < CtClass > oldClasses , List < CtClass > newClasses ) { List < CtClass > oldClassesFiltered = applyFilter ( options , oldClasses ) ; List < CtClass > newClassesFiltered = applyFilter ( options , newClasses ) ; ClassesComparator classesComparator = new ClassesComparator ( this , options ) ; classesComparator . compare ( oldClassesFiltered , newClassesFiltered ) ; List < JApiClass > classList = classesComparator . getClasses ( ) ; if ( LOGGER . isLoggable ( Level . FINE ) ) { for ( JApiClass jApiClass : classList ) { LOGGER . fine ( jApiClass . toString ( ) ) ; } } checkBinaryCompatibility ( classList ) ; checkJavaObjectSerializationCompatibility ( classList ) ; OutputFilter . sortClassesAndMethods ( classList ) ; return classList ; }
Compares the two lists with CtClass objects using the provided options instance .