code: static private String findParamValueFor(String s)
  	{
  		int endParamIndex = s.indexOf('=');
  		int endValueIndex = s.indexOf(']',endParamIndex);
  		if (endValueIndex<0) throw new IllegalStateException("illegal class description '"+s+"'");
  		return s.substring(endParamIndex+1,endValueIndex);
  	}
docs: find zzz in a string of the form xxx[yyy=zzz]