Home
last modified time | relevance | path

Searched refs:oldClass (Results 1 – 2 of 2) sorted by relevance

/external/jdiff/src/jdiff/
DAPIComparator.java163 ClassAPI oldClass = (ClassAPI)(iter.next()); in comparePackages() local
166 int idx = Collections.binarySearch(newPkg.classes_, oldClass); in comparePackages()
172 int existsNew = newPkg.classes_.indexOf(oldClass); in comparePackages()
176 … differs += 2.0 * compareClasses(oldClass, (ClassAPI)(newPkg.classes_.get(existsNew)), pkgDiff); in comparePackages()
179 System.out.println(" Class " + oldClass.name_ + " was removed"); in comparePackages()
180 pkgDiff.classesRemoved.add(oldClass); in comparePackages()
186 … differs += 2.0 * compareClasses(oldClass, (ClassAPI)(newPkg.classes_.get(idx)), pkgDiff); in comparePackages()
243 public double compareClasses(ClassAPI oldClass, ClassAPI newClass, PackageDiff pkgDiff) { in compareClasses() argument
245 System.out.println(" Comparing old class " + oldClass.name_ + in compareClasses()
249 ClassDiff classDiff = new ClassDiff(oldClass.name_); in compareClasses()
[all …]
DClassDiff.java84 public static String diff(ClassAPI oldClass, ClassAPI newClass) { in diff() argument
85 Collections.sort(oldClass.implements_); in diff()
89 if (oldClass.extends_ != null && newClass.extends_ != null && in diff()
90 oldClass.extends_.compareTo(newClass.extends_) != 0) { in diff()
91 …res += "The superclass changed from <code>" + oldClass.extends_ + "</code> to <code>" + newClass.e… in diff()
97 Iterator iter = oldClass.implements_.iterator(); in diff()
113 int idx = Collections.binarySearch(oldClass.implements_, newInterface); in diff()