Class TypeCompatibility

java.lang.Object
com.google.errorprone.bugpatterns.TypeCompatibility

public final class TypeCompatibility extends Object
Methods to answer the question: are these two types "compatible" with each other, in the context of an equality check?

That is, based on the types alone, is it possible for them to be equal. In general this requires a common superclass that overrides Object.equals(Object), but there are complexities and special-cases.