It used to work that way, but it gets rather hairy when generics are involved to know if a certain signature is an implementation of one of the methods you are delegating.
You can make an inner private interface with a subset of the methods and then supply this interface to the @Delegate annotation. The field you put the annotation on does not actually have to implement the type you delegate. This way you have exact control of the methods you delegate.
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.