Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move lowest common ancestor of two ClassTypes into TypeHierarchy #1089

Merged
merged 13 commits into from
Oct 1, 2024
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
Loading