Don't generate SuppressWarnings annotations

Create issue
Issue #140 resolved
Jesper Öqvist created an issue

JastAdd2 tries to silence warnings in the generated code by adding SuppressWarnings annotations to generated methods. This is counterproductive since SuppressWarnings can produce additional warnings if used incorrectly, and JastAdd2 is not smart enough to use the annotation correctly - that would require some semantic knowledge of the weaved Java code.

Comments (1)

  1. Jesper Öqvist reporter

    Removed SuppressWarnings annotations in codegen

    • removed the suppressWarnings option
    • don't generate SuppressWarnings annotations

    fixes issue #140 (bitbucket)

    → <<cset 6717eba96912>>

  2. Log in to comment