return convertTypeFull(type);
if (libraryFormat) {  TypeArray array = (TypeArray)type; String base = convertType(array.getBase()); return base + "[]"; } else {  return convertTypeFull(type); }
    public String convertType(Type type)    {        // This is So Wrong in the greater scheme of things.        if (type instanceof TypeArray)	    {		// following change declares arrays like int[10][10] foo;		return convertTypeFull(type);		// uncomment following to declare arrays like int[][] foo;		/*		TypeArray array = (TypeArray)type;		String base = convertType(array.getBase());		return base + "[]";		*/	    }        else if (type instanceof TypeStruct)	    {		return ((TypeStruct)type).getName();	    }	else if (type instanceof TypeStructRef)	    {		return ((TypeStructRef)type).getName();	    }        else if (type instanceof TypePrimitive)	    {		switch (((TypePrimitive)type).getType())		    {		    case TypePrimitive.TYPE_BOOLEAN: return "boolean";		    case TypePrimitive.TYPE_BIT: return "int";		    case TypePrimitive.TYPE_INT: return "int";		    case TypePrimitive.TYPE_FLOAT: return "float";		    case TypePrimitive.TYPE_DOUBLE: return "double";		    case TypePrimitive.TYPE_COMPLEX: return "Complex";		    case TypePrimitive.TYPE_FLOAT2: return "float2";		    case TypePrimitive.TYPE_FLOAT3: return "float3";		    case TypePrimitive.TYPE_FLOAT4: return "float4";		    case TypePrimitive.TYPE_VOID: return "void";		    default: assert false : type; return null;		    }	    }        else if (type instanceof TypePortal)	    {		return ((TypePortal)type).getName() + "Portal";	    }        else	    {		assert false : type;		return null;	    }    }