Skip to content

Commit

Permalink
Merge pull request #1089 from soot-oss/th_lca
Browse files Browse the repository at this point in the history
move lowest common ancestor of two ClassTypes into TypeHierarchy
  • Loading branch information
swissiety authored Oct 1, 2024
2 parents 9369a01 + e5a70a3 commit c89d53f
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 207 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.util.stream.Stream;
Expand Down Expand Up @@ -203,4 +204,6 @@ default Stream<ClassType> superClassesOf(@Nonnull ClassType classType) {
// checks if a Type is contained int the TypeHierarchy - should return the equivalent to
// View.getClass(...).isPresent()
boolean contains(ClassType type);

Collection<ClassType> getLowestCommonAncestors(ClassType a, ClassType b);
}
Loading

0 comments on commit c89d53f

Please sign in to comment.