|
|
Change By:
|
Matus Abaffy
|
Workaround Description:
|
In the subclass declaration, reference the superclass without type parameters after the 'extends' keyword. That will result to a warning which can be suppressed using @SuppressWarnings("rawtypes").
Following the example from the description, the specializing class would look like this: {code} @Specializes public class BeanCustom<T extends AbstractClass> extends BeanDefault { } {code} This way, type parameters of the specialized bean's bean types will be exactly the same (also equal in the java sense) as the type parameters of the specializing bean's bean types which are implied from extending the specialized class.
|
Workaround:
|
Workaround Exists
|
|
|
|