@Override
    public TypeCategory getCategory() {
        return type.getCategory();
    }
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