protected RouteChunk(final Routes routes, final RouteChunk parent, final String value) { this.routes = routes; this.parent = parent; this.value = value; this.pathMacros = routes.buildActionPathMacros(value); if (pathMacros != null) { this.hasMacros = true; } else { this.hasMacros = parent != null && parent.hasMacros; } }