while (signature.charAt(ofs) != ';')
while (signature[ofs] != ';')
	public static final int getArgSlotCount(String signature) {		/*int ofs = 0;		final int len = signature.length();		if (signature.charAt(ofs++) != '(')			return 0;		int count = 0;		while (ofs < len) {			char ch = signature.charAt(ofs++);			switch (ch) {				case ')' :					return count;				case 'B' : // Byte				case 'Z' : // Boolean				case 'C' : // Char				case 'S' : // Short				case 'I' : // Int				case 'F' : // Float					count++;					break;				case 'D' : // Double				case 'J' : // Long					count += 2;					break;				case '[' : // Array					{						count++;						while (signature.charAt(ofs) == '[')							ofs++;						if (signature.charAt(ofs) == 'L') {							ofs++;							while (signature.charAt(ofs) != ';')								ofs++;						}						ofs++;					}					break;				case 'L' : // Object					{						count++;						while (signature.charAt(ofs) != ';')							ofs++;						ofs++;					}					break;			}		}		throw new RuntimeException(			"Invalid signature in getArgSlotCount: " + signature);*/	    return getArgSlotCount(signature.toCharArray());	}