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

What's here


Related content

Apex Page rules

Salesforce rules




Last modified on Oct 3, 2023