public TTypeDesc toTTypeDesc() {
TPrimitiveTypeEntry primitiveEntry = new TPrimitiveTypeEntry(type.toTType());
if (getTypeQualifiers() != null) {
primitiveEntry.setTypeQualifiers(getTypeQualifiers().toTTypeQualifiers());
}
TTypeEntry entry = TTypeEntry.primitiveEntry(primitiveEntry);
TTypeDesc desc = new TTypeDesc();
desc.addToTypes(entry);
return desc;
}