@Override
    public boolean equals(Object obj) {
        if (this == obj) { return true; }
        else if (obj == null) { return false; }
        else if (!(obj instanceof Type)) { return false; }
        
        final Type other = (Type) obj;
        return Objects.equals(typeName, other.getTypeName());
    }
Creates a new {@code SimpleType} referencing the specified class in the
specified file. These do not have to exist yet.

@param file   the file to reference
@param clazz  the class to reference
@return       the new simple type
common-parent/codegen/src/main/java/com/speedment/common/codegen/constant/SimpleType.java