Well I don't think there is a need to override the getBaseType method for the producer method createVegetable because the assertion for getBaseType states:
the container must call Annotated.getBaseType() to determine the type of an injection point, event parameter or disposed parameter,
This is simply not the case since there is no IP, event parameter nor disposed parameter. Antoine Sabot-Durand Can you please comment on this one? |