plements Logger {
    &#064;Inject &#064;Delegate &#064;Any Logger logger;
    ...
 }
 </pre>

 <pre>
 &#064;Decorator
 class TimestampLogger implements Logger {
    private Logger logger;

    &#064;Inject
    public TimestampLogger(&#064;Delegate &#064;Debug Logger logger) {
       this.logger=logger;
    }
    ...
 }
 </pre>

 <p>
 A decorator must have exactly one delegate injection point. The delegate injection point must be an injected field,
 initializer method parameter or bean constructor method pa