Class StructuralEqualityComparer

java.lang.Object
org.checkerframework.framework.type.visitor.AbstractAtmComboVisitor<Boolean,Void>
org.checkerframework.framework.type.StructuralEqualityComparer
All Implemented Interfaces:
AtmComboVisitor<Boolean,Void>

public class StructuralEqualityComparer extends AbstractAtmComboVisitor<Boolean,Void>
A visitor used to compare two type mirrors for "structural" equality. Structural equality implies that, for two objects, all fields are also structurally equal and for primitives their values are equal.

See also DefaultTypeHierarchy, and SubtypeVisitHistory