Bug 85713 Signature.getTypeSignatureKind does not like wildcard types
20050217 Signature.getTypeSignatureKind throws an IllegalArgumentException when a signature for wild card is passed. Are signatures for wild cards not considered as type signatures?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java
}
	}
	
	private static void getTypeSignatureLabel(String typeSig, long flags, StringBuffer buf) {
		int sigKind= Signature.getTypeSignatureKind(typeSig);
		if (sigKind == Signature.BASE_TYPE_SIGNATURE) {
			buf.append(Signature.toString(typeSig));
		} else if (sigKind == Signature.ARRAY_TYPE_SIGNATURE) {
			getTypeSignatureLabel(Signature.getElementType(typeSig), flags, buf);
			for (int dim= Signature.getArrayCount(typeSig); dim > 0; dim--) {
				buf.append('[').append(']');
			}
		} else if (sigKind == Signature.CLASS_TYPE_SIGNATURE) {
			String baseType= Signature.toString(Signature.getTypeErasure(typeSig));
			buf.append(Signature.getSimpleName(baseType));
			
			String[] typeArguments= Signature.getTypeArguments(typeSig);
			getTypeArgumentSignaturesLabel(typeArguments, flags, buf);
		} else if (sigKind == Signature.TYPE_VARIABLE_SIGNATURE) {
			buf.append(Signature.toString(typeSig));
		}
	}
	
	private static void getTypeArgumentSignaturesLabel(String[] typeArgsSig, long flags, StringBuffer buf) {
		if (typeArgsSig.length > 0) {
			buf.append('<');
			for (int i = 0; i < typeArgsSig.length; i++) {
				if (i > 0) {
					buf.append(COMMA_STRING);
				}