docs: public List<Object> matchAll(CharSequence text, int startIndex){
  		List<Integer> states = getAllAcceptedStates(text, startIndex);
  		if (states == null){
  			return null;
  		}else{
  			List<Object> result = new ArrayList<Object>(states.size());
  			for (int p: states){
  				result.add(attachments[p]);
  			}
  			return result;
  		}
  	}