Avoid Non Existent Annotations

Impact area

Scalability

Severity

Medium

Affected element

Apex Class

Rule ID #

SF-COGN-COMPLEX

Impact #

Apex supported non-existent annotations for legacy reasons. In the future, such non-existent annotations could result in broken apex code that will not compile. 

Remediation

Replace legacy annotations with newer ones.

Time to fix #

20 min

References #

This rule is linked to AvoidNonExistentAnnotations

Was it helpful ?

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!