fixed bug in equals of ConstructorType, due to java.util.HashMap not implementing equals()