@SupressWarning annotation allowed by new Apex compiler is not handled correctly

Issue #866 resolved
Former user created an issue

Bildschirmfoto 2018-01-31 um 00.04.26.png

Allowing to suppress rules in PMD using native Apex annotations was a big thing last year. Salesforce finally allowed me to use it in PMD. In the Dev Console classes with that @ compile but IC2 inspections still think this is an error.

Comments (3)

  1. Scott Wells repo owner

    Good timing, Robert. I implemented it last weekend including making it a primary option for intention-based inspection suppression:

    SuppressWarningsAnnotation.png

    It'll be in the next build of IC2.

  2. Log in to comment