public static Type parse(String signature)
	{
		int end = 1;
		while(true)
		{
			char c = signature.charAt(end);
			if(c == ' ' || c == '(')
				break;
			end++;
			if(end == signature.length())
				break;
		}

		return Type.valueOf(signature.substring(1, end).toUpperCase());
	}