private static <T> void aggregateRoutes(
		String method, Map<PathPattern, T> routes,
		List<String> accMethods, List<String> accPatterns, List<String> accTargets) {
		for (Map.Entry<PathPattern, T> entry : routes.entrySet()) {
			accMethods.add(method);
			accPatterns.add("/" + entry.getKey().pattern());
			accTargets.add(targetToString(entry.getValue()));
		}
	}
private static < T > void aggregateRoutes ( String method , Map < PathPattern , T > routes , List < String > accMethods , List < String > accPatterns , List < String > accTargets ) { for ( Map . Entry < PathPattern , T > entry : routes . entrySet ( ) ) { accMethods . add ( method ) ; accPatterns . add ( "/" + entry . getKey ( ) . pattern ( ) ) ; accTargets . add ( targetToString ( entry . getValue ( ) ) ) ; } }
Helper for toString.