Class AvoidNonExistentAnnotationsRule

  • All Implemented Interfaces:
    ApexParserVisitor, ImmutableLanguage, PropertySource, CodeClimateRule, Rule

    public class AvoidNonExistentAnnotationsRule
    extends AbstractApexRule
    Apex supported non existent annotations for legacy reasons. In the future, use of such non-existent annotations could result in broken apex code that will not compile. This will prevent users of garbage annotations from being able to use legitimate annotations added to apex in the future. A full list of supported annotations can be found at https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation.htm
    Author:
    a.subramanian