Duplicate :
|
|
Relates :
|
|
Relates :
|
A DESCRIPTION OF THE REQUEST : Mixing raw and parameterized generic types is error-prone. It would be useful to have a compiler option to reject use of raw types but to be able to annotate a class or method to exempt the annotated code from this behavior. Suggested annotation: @PermitRawTypes JUSTIFICATION : To avoid erroneous use of raw types. CUSTOMER SUBMITTED WORKAROUND : Eclipse now provides the desired compiler option, but without the permissive annotation.
|