Inspectopedia
 
2024.3

Incorrect @Typed annotation usage

Error
Reliability
New
Last modified: 03 December 2024

Reports @Typed annotation usages that violate the following rules:

  • Only producer methods can have the @Typed annotation

  • Bean type must correspond to the types mentioned in the @Typed annotation