private int getIndexOfNext(EventType eventType, List<ITraceEvent> events, int current) {
		int rc = INDEX_ERROR;
		for(int i = current; i < events.size();i++) {
			if (events.get(i).getEventType()==eventType && isMethodToKeep(events.get(i).getMethodName()))  {
				rc = i;
				break;
			}
		}
		return rc;
	}