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