@Override
    public boolean equals(Object o) {
        return type.equals(o);
    }
TypeAdapter is a basic adapter implementation for the Type interface

@author tiwe
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/model/TypeAdapter.java