Class EqualityAtmComparer

All Implemented Interfaces:
AtmComboVisitor<Boolean,Void>

public class EqualityAtmComparer extends EquivalentAtmComboScanner<Boolean,Void>
Compares two annotated type mirrors for structural equality using only the primary annotations and underlying types of the two input types and their component types. Note, this leaves out other fields specific to some AnnotatedTypeMirrors (like directSupertypes, isUnderlyingTypeRaw, isTypeArgOfRawType etc...). Ideally, both EqualityAtmComparer and HashcodeAtmVisitor would visit relevant fields.

This class is used by AnnotatedTypeMirror#equals

This class should be kept synchronized with HashcodeAtmVisitor.

See Also: