question: public boolean isEquivalentTo ( TypeDefinition other ) { Set < String > recursiveTypeChecked = new HashSet < > ( ) ; return cardinality . equals ( other . cardinality ) && checkTypeEqualness ( this , other , recursiveTypeChecked ) ; }
target:  Checks if this TypeDeclaration is equivalent to otherType.