code: private static String canonicalBraceAsNecessary(Type type) {
  		String str = type.toCanonicalString();
  		if (needsBraces(type)) {
  			return "(" + str + ")";
  		} else {
  			return str;
  		}
  	}
docs: ==============================================================================