public StringBuffer printGeneric(Class<?> cls, StringBuffer message){
		TypeVariable<?>[] params = cls.getTypeParameters();
		if(params.length > 0){
			message.append('<');
			for(int i = 0; i < params.length; i++){
				message.append(params[i].getName());
				if(i != params.length - 1){
					message.append(", ");
				}
			}
			message.append(">");
		}
		else 
			message.append("");
		
		return message;
	}